Przeglądaj źródła

added timestamp alias

Josh Bicking 8 lat temu
rodzic
commit
3b69dbaaae
1 zmienionych plików z 3 dodań i 0 usunięć
  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