diff options
author | Guangxiong Lin <[email protected]> | 2022-10-31 19:43:39 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-10-31 19:43:39 +0800 |
commit | 392be7809673f3bb576ef8b2b62e7f81b9a7976b (patch) | |
tree | fb137e6c6bfb42c445e52fbf963e73e73274c452 /.aliases | |
parent | 11a5fef37dfad44c9c069770abf947772796a65f (diff) | |
download | dotfiles-392be7809673f3bb576ef8b2b62e7f81b9a7976b.tar.gz dotfiles-392be7809673f3bb576ef8b2b62e7f81b9a7976b.tar.bz2 dotfiles-392be7809673f3bb576ef8b2b62e7f81b9a7976b.zip |
Update alias
Diffstat (limited to '.aliases')
-rw-r--r-- | .aliases | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -8,10 +8,12 @@ alias grep='grep --color=auto' alias emacs='emacs -nw' alias magit='et -e "(magit-status \"$(pwd)\")"' alias agenda='et -e "(org-agenda nil \" \")"' -alias nb='cd ~/journals; vim index.md; cd -' -alias todo='cd ~/journals; vim gtd.md; cd -' alias vimg='vim +Git +only' +# Don't save command history +command -v todo.sh > /dev/null && alias t=' todo.sh' +command -v jrnl > /dev/null && alias jrnl=' jrnl' + alias gmf='git diff --merge-base' alias gmfn='git diff --merge-base --name-only' |