blob: 872eba4820b0e44dc0a3d0806fd8241b8d82c78f (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#!/usr/bin/env bash
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 nb='cd ~/journals; vim index.md; cd -'
alias todo='cd ~/journals; vim gtd.md; cd -'
alias vimg='vim +Git +only'
alias gmf='git diff --merge-base'
alias gmfn='git diff --merge-base --name-only'
if [ -f /usr/bin/pacman ]; then
alias S='sudo pacman -S'
alias Si='pacman -Si'
alias Ss='pacman -Ss'
alias Syu='sudo pacman -Syu'
alias Rs='sudo pacman -Rs'
alias Rns='sudo pacman -Rns'
alias Q='pacman -Q'
alias Qi='pacman -Qi'
alias Qm='pacman -Qm'
alias Qs='pacman -Qs'
alias Qu='pacman -Qu'
fi
if [ -f /usr/bin/paru ]; then
alias Sa='paru -Sa'
alias Sia='paru -Sia'
alias Ssa='paru -Ssa'
alias Syua='paru -Syua'
alias Rsa='paru -Rsa'
alias Rnsa='paru -Rnsa'
alias Qa='paru -Qa'
alias Qia='paru -Qia'
alias Qma='paru -Qma'
alias Qsa='paru -Qsa'
alias Qua='paru -Qua'
fi
if command -v tig &> /dev/null; then
alias tigs='tig status'
fi
|