diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-04 08:04:55 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-04 08:04:55 +0000 |
commit | a1b6a31f1c5ddc870de6530ac10ec4c0d6a0ee35 (patch) | |
tree | 0a86aa8e4587534c852368eef3f3721065f77ad1 /etc/root/dot.cshrc | |
parent | ae461759b712418561716082f5e2342956af8bf6 (diff) |
fix for paths with spaces; nimenees@uaccess.net
Diffstat (limited to 'etc/root/dot.cshrc')
-rw-r--r-- | etc/root/dot.cshrc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/root/dot.cshrc b/etc/root/dot.cshrc index ae004fd79be..3af04e60275 100644 --- a/etc/root/dot.cshrc +++ b/etc/root/dot.cshrc @@ -8,11 +8,11 @@ set cdpath=(/sys /sys/arch /usr/src/{bin,sbin,usr.{bin,sbin},pgrm,lib,libexec,sh setenv BLOCKSIZE 1k -alias cd 'set old=$cwd; chdir \!*' +alias cd 'set old="$cwd"; chdir \!*' alias h history alias j jobs -l alias ll ls -l -alias back 'set back=$old; set old=$cwd; cd $back; unset back; dirs' +alias back 'set back="$old"; set old="$cwd"; cd "$back"; unset back; dirs' alias z suspend alias x exit |