Explorar el Código

added timestamp alias

Josh Bicking hace 8 años
padre
commit
3b69dbaaae
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      zshrc

+ 3 - 0
zshrc

@@ -80,5 +80,8 @@ setopt -o sharehistory
 # Ignore duplicates in history
 setopt HIST_IGNORE_DUPS
 
+# timestamp alias for dates
+alias ts='date +%y-%m-%d'
+
 # zsh-syntax-highlighting (MUST BE AT THE BOTTOM OF THIS FILE)
 source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh