Commit b0d494ee authored by Francois Marier's avatar Francois Marier

Apply Fedora patch to fix parse errors when the login shell is not bash

* Apply Fedora patch to fix parse errors when the login shell is not bash,
  see https://bugzilla.redhat.com/show_bug.cgi?id=479398 (LP: #319489)
* Update upstream URLs
* Add watch file
parent 5996180c
#!/bin/sh
# (C) 2002-2003 Dan Allen and Stefan Kamphausen
# Written by Dan Allen <dan@mojavelinux.com>
......@@ -166,7 +164,7 @@ function mark ()
local tmpfile
# first clear any bookmarks with this same alias, if file exists
if [[ "$CDARGS_NODUPS" && -e "$HOME/.cdargs" ]]; then
if [ "$CDARGS_NODUPS" -a -e "$HOME/.cdargs" ]; then
tmpfile=`echo ${TEMP:-${TMPDIR:-/tmp}} | /bin/sed -e "s/\\/$//"`
tmpfile=$tmpfile/cdargs.$USER.$$.$RANDOM
/bin/grep -v "^$1 " "$HOME/.cdargs" > $tmpfile && 'mv' -f $tmpfile "$HOME/.cdargs";
......@@ -256,4 +254,11 @@ _cdargs_complete() {
complete $nospace -S / -X '*/' -F _cdargs_aliases cv cb cdb
}
# we do not support anything besides bash completion
# (however patches to support other shells are very welcome)
if [ -z "${BASH_VERSION}" ]; then
return 100
fi
_cdargs_complete
#!/bin/csh
# (C) 2002-2005 Stefan Kamphausen
# (T)CShell extensions written by
......
......@@ -3,14 +3,16 @@ cdargs (1.35-4) unstable; urgency=low
* Adopt this package (closes: #521484)
* Move the packaging to git.debian.org
* Update FSF address in manpage (closes: #470446)
* Update upstream URLs
* Add watch file
* Apply Fedora patch to fix parse errors when the login shell is not bash,
see https://bugzilla.redhat.com/show_bug.cgi?id=479398 (LP: #319489)
* Bump Standards-Version to 3.8.1
* Bump debhelper compatibility to 7
* debian/rules: make use of dh_prep
* Update upstream URLs
* Add watch file
-- Francois Marier <francois@debian.org> Sun, 29 Mar 2009 12:26:24 +1300
-- Francois Marier <francois@debian.org> Sun, 29 Mar 2009 12:38:03 +1300
cdargs (1.35-3) unstable; urgency=low
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment