commit e69bd035e4f052c93956c2e216261a055506aa80
parent a4643be1733d03a1a6b6a3e3c7a87995eee01b56
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Sat, 14 Apr 2018 20:59:04 +0200
Make cd follow aliases
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.commonprofile b/.commonprofile
@@ -10,7 +10,7 @@ alias less='less -RXc'
alias top='sudo htop'
alias g='git'
alias r='ranger'
-cd() { builtin cd "$@"; ls; }
+cd() { builtin cd -P "$@"; ls; }
mkcd() { mkdir -p -- "$1" && cd -P -- "$1" }
procinfo() { ps -aux | grep $1 }