diff options
author | 1997-11-04 08:04:54 +0000 | |
---|---|---|
committer | 1997-11-04 08:04:54 +0000 | |
commit | 5f64577622c1f5a0a3ea700a586021f86511f2bf (patch) | |
tree | a72dbbb5c5c9031c7c7ec59a798af6d5796ac154 | |
parent | buffer overrun; shigio@wafu.netgate.net (diff) | |
download | wireguard-openbsd-5f64577622c1f5a0a3ea700a586021f86511f2bf.tar.xz wireguard-openbsd-5f64577622c1f5a0a3ea700a586021f86511f2bf.zip |
fix for paths with spaces; nimenees@uaccess.net
-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 |