-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliasrc
96 lines (75 loc) · 1.66 KB
/
aliasrc
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
alias cls=clear
alias clock=tty-clock
alias ls=lsd
alias cat=bat
alias r=ranger
alias v=nvim
alias s=subl3
alias c=code
alias a=atom
alias p=python
alias pm='sudo pacman'
alias ic='nvim ~/.config/i3/config'
alias vc='nvim ~/.config/nvim/init.vim'
alias zc='nvim ~/.zshrc'
alias spec='nvim ~/.config/spectrwm'
alias :q=exit
alias :wq=exit
alias projects="cd ~/Projects/\`ls -1 ~/Projects | rofi -dmenu -l 5\`"
alias V="sudo vim"
alias minecraft="java -jar ~/Desktop/TLauncher-2.75.jar"
alias dmenu="dmenu -fn 'Source Code Pro'"
## Git aliases
alias \
gst='git status' \
gcl='git clone' \
gc='git commit -v' \
gcmsg='git commit -m' \
gcam='git commit --all -m' \
gl='git pull' \
gp='git push' \
gb='git branch' \
gcm='git checkout master' \
gck='git checkout' \
ga='git add' \
gaa='git add --all' \
gd='git diff' \
gra='git remote add' \
gr='git remote' \
grv='git remote -v' \
grr='git remote remove' \
gsh='git stash'
## archlinux aliases
alias \
pacupg='sudo pacman -Syu' \
pacins='sudo pacman -S' \
pacrmorphans='sudo pacman -Rs $(pacman -Qtdq)'
## cd aliases
alias \
...='cd ../..' \
....='cd ../../../' \
.....='cd ../../../../' \
......='cd ../../../../../' \
--='cd -' \
la='ls -Ah' \
l='ls -lAh;'
## yarn aliases
alias \
ys='yarn start' \
yr='yarn run' \
yb='yarn build' \
yi='yarn install' \
ya='yarn add' \
yrd='yarn run dev'\
alias \
ns='npm start' \
nr='npm run' \
nrd='npm run dev' \
ni='npm install' \
nid='npm i --save-dev' \
nb='npm build'
## Grep alias
alias grep='grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,node_modules}'
alias td='v ~/archrice/.config/conky/todo.tasks'
alias fb='cd ~/finbox'
alias m=make