浏览代码

added timestamp alias

Josh Bicking 8 年之前
父节点
当前提交
3b69dbaaae
共有 1 个文件被更改,包括 3 次插入0 次删除
  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