Przeglądaj źródła

add cdls to zshrc

Josh Bicking 7 lat temu
rodzic
commit
833c6a8acf
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      zshrc

+ 5 - 0
zshrc

@@ -91,6 +91,11 @@ bindkey "^s" history-incremental-search-forward
 bindkey ";5C" forward-word
 bindkey ";5D" backward-word
 
+# cdls
+function cd {
+    builtin cd "$@" && ls -F
+}
+
 # Editor defaults
 export EDITOR=emacs
 export VISUAL=emacs