diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-11-20 04:11:12 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-11-20 04:11:12 +0000 |
commit | 0a1dfb502016f7ff57fe246314b33e2ee54d5075 (patch) | |
tree | e61573d4b9eb7df28fb28a991c0582ca847f6fc9 /etc/ksh.kshrc | |
parent | 3b45ad57a4e2144a989d650346b407aa6b59e1d4 (diff) |
Fix cd/wcd aliases. Closes PR #981
Diffstat (limited to 'etc/ksh.kshrc')
-rw-r--r-- | etc/ksh.kshrc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/ksh.kshrc b/etc/ksh.kshrc index 66072c5ef40..10dcfcd7966 100644 --- a/etc/ksh.kshrc +++ b/etc/ksh.kshrc @@ -1,5 +1,5 @@ : -# $OpenBSD: ksh.kshrc,v 1.3 1998/03/22 03:39:10 marc Exp $ +# $OpenBSD: ksh.kshrc,v 1.4 1999/11/20 04:11:11 millert Exp $ # # NAME: # ksh.kshrc - global initialization for ksh @@ -60,7 +60,6 @@ case "$-" in alias ls='ls -CF' alias h='fc -l | more' - _cd() { "cd" $*; } # the PD ksh is not 100% compatible case "$KSH_VERSION" in *PD*) # PD ksh @@ -110,7 +109,7 @@ case "$-" in alias istripe='ilabel "$USER@$HOST ($tty)"' wftp () { ilabel "ftp $*"; "ftp" $*; eval istripe; } - wcd () { _cd $*; eval stripe; } + wcd () { \cd "$@"; eval stripe; } wtelnet () { "telnet" "$@" |