aboutsummaryrefslogtreecommitdiff
path: root/.aliases
blob: 40f20841945bc32f6ed39af22d244dc293854a9d (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
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'

# vim: ft=sh