Browse Source

add cdls to zshrc

Josh Bicking 7 years ago
parent
commit
833c6a8acf
1 changed files with 5 additions and 0 deletions
  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