aboutsummaryrefslogtreecommitdiff
path: root/.aliases
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-10-31 19:43:39 +0800
committerGuangxiong Lin <[email protected]>2022-10-31 19:43:39 +0800
commit392be7809673f3bb576ef8b2b62e7f81b9a7976b (patch)
treefb137e6c6bfb42c445e52fbf963e73e73274c452 /.aliases
parent11a5fef37dfad44c9c069770abf947772796a65f (diff)
downloaddotfiles-392be7809673f3bb576ef8b2b62e7f81b9a7976b.tar.gz
dotfiles-392be7809673f3bb576ef8b2b62e7f81b9a7976b.tar.bz2
dotfiles-392be7809673f3bb576ef8b2b62e7f81b9a7976b.zip
Update alias
Diffstat (limited to '.aliases')
-rw-r--r--.aliases6
1 files changed, 4 insertions, 2 deletions
diff --git a/.aliases b/.aliases
index c28f4c6..98cc029 100644
--- a/.aliases
+++ b/.aliases
@@ -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'