Explorar el Código

add cdls to zshrc

Josh Bicking hace 7 años
padre
commit
833c6a8acf
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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