forked from ivyl/zsh-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaliases.zsh
39 lines (28 loc) · 802 Bytes
/
aliases.zsh
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
#LS
case "$(uname)" in
Linux)
alias ls='ls --color=auto' ;;
FreeBSD)
alias ls='ls -G' ;;
esac
alias l='ls -lFh' #size,show type,human readable
alias la='ls -lAFh' #long list,show almost all,show type,human readable
#EDITORS
alias e='vim'
#COLORFULNESS
alias grep="grep --colour"
#no vim to .vim corretion and expandig of aliases after sudo (tailing space)
alias sudo='nocorrect sudo '
#DIRS
alias -g ...='../../' #cd ...
alias -g ....='../../../' #cd ....
alias -g .....='../../../../' #cd .....
#sprunge paste service
alias sprunge="curl -F 'sprunge=<-' http://sprunge.us"
#common arch aliases
alias p="pacwrap"
alias sc="systemctl"
alias logs="sudo journalctl -f"
alias uu="udiskie-umount"
alias detach="udisks --detach"
alias wi="wicd-cli"