blob: ce3ad18d384f7c6429b3d00d449ea60e5792d538 (
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
|
#!/usr/bin/env bash
alias ls='ls --color=auto'
alias emacs='emacs -nw'
alias mu4e='emacs -nw -f mu4e'
alias magit='emacs -nw -f magit'
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='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'
fi
if [ -f /usr/bin/yay ]; then
alias Sia='yay -Sia'
alias Ssa='yay -Ssa'
alias Syua='yay -Syua'
alias Rsa='yay -Rsa'
alias Rnsa='yay -Rnsa'
fi
|