Explorar o código

added timestamp alias

Josh Bicking %!s(int64=8) %!d(string=hai) anos
pai
achega
3b69dbaaae
Modificáronse 1 ficheiros con 3 adicións e 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