diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2022-10-12 15:02:26 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2022-10-12 15:02:26 +0200 |
commit | 0645164da29c8b19202e18e7658fd8fbdac06189 (patch) | |
tree | 2c8a4a78e774ddfab4c5f0835cdfd3633f7bb1b9 /bash | |
parent | 48a7bdbb5586906d4eeee31116a17fe4556114c1 (diff) | |
download | dotfiles-0645164da29c8b19202e18e7658fd8fbdac06189.tar.gz |
cs funktion
Diffstat (limited to 'bash')
-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" |