blob: ba4c5aafbca3a70b30157dd38032956a784da7a5 (
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
|
#!/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 et='emacsclient -a "" -t'
alias ec='nohup emacsclient -a "" -c &!'
alias mu4e='emacs -nw -f mu4e'
alias agenda='emacs -nw -f org-agenda'
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
|