blob: 4a3136dbfd552be8991f6d2e9e98df043e0e6051 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
alias ls='ls --color=auto'
alias ll='ls --color=auto -lh'
alias diff='diff --color=auto'
alias grep='grep --color=auto'
alias emacs='emacs -nw'
alias magit='et -e "(magit-status \"$(pwd)\")"'
alias agenda='et -e "(org-agenda nil \" \")"'
alias vimg='vim +Git +only'
# Don't save command history
command -v topydo > /dev/null && alias t=' topydo'
command -v jrnl > /dev/null && alias jrnl=' jrnl'
alias gmf='git diff --merge-base'
alias gmfn='git diff --merge-base --name-only'
command -v pacman > /dev/null && source "$HOME/.arch.aliases"
command -v tig &> /dev/null && alias tigs='tig status'
alias g='git'
if command -v hledger &> /dev/null && \
[ -f "$HOME/.hledger" ]; then
alias hledger="$(command -v hledger) @$HOME/.hledger"
fi
# vim: ft=sh
|