diff options
-rw-r--r-- | bash/alias.bash | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bash/alias.bash b/bash/alias.bash index 0760fcd..b0bd97d 100644 --- a/bash/alias.bash +++ b/bash/alias.bash @@ -2,6 +2,11 @@ function back() { cd "$OLDPWD"; } +function cs() { + cd "$@" || return $? + ls --color=auto +} + alias ls="ls --color" alias la="ls -a" alias ll="ls -lh" |