From 0645164da29c8b19202e18e7658fd8fbdac06189 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Wed, 12 Oct 2022 15:02:26 +0200 Subject: cs funktion --- bash/alias.bash | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bash') 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" -- cgit v1.2.3