summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-11-04 08:04:54 +0000
committerderaadt <deraadt@openbsd.org>1997-11-04 08:04:54 +0000
commit5f64577622c1f5a0a3ea700a586021f86511f2bf (patch)
treea72dbbb5c5c9031c7c7ec59a798af6d5796ac154
parentbuffer overrun; shigio@wafu.netgate.net (diff)
downloadwireguard-openbsd-5f64577622c1f5a0a3ea700a586021f86511f2bf.tar.xz
wireguard-openbsd-5f64577622c1f5a0a3ea700a586021f86511f2bf.zip
fix for paths with spaces; nimenees@uaccess.net
-rw-r--r--etc/root/dot.cshrc4
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