-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliases
53 lines (43 loc) · 1.03 KB
/
aliases
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
alias mywipe='wipe -dr'
alias myshred='shred -uvzn 0'
alias sxc='xclip -selection clipboard'
alias gxc='xclip -selection clipboard -o'
alias myip='curl icanhazip.com'
COLOR_AUTO='--color=auto'
alias ls="ls $COLOR_AUTO"
alias l='ls -F'
alias ll='ls -lhF'
alias la='ls -FA'
alias lla='ls -lhFA'
alias lt='ls -lhFAtr'
alias l.='ls -d .*'
alias l1='ls -1'
alias tree='tree -C'
alias mydf='df -hPT | column -t'
alias grep="grep $COLOR_AUTO"
alias fgrep="fgrep $COLOR_AUTO"
alias egrep="egrep $COLOR_AUTO"
APT_GET='sudo apt-get'
alias apt-get="$APT_GET"
alias ag="$APT_GET"
alias agi="$APT_GET install -y"
alias upd="$APT_GET update"
alias upg="$APT_GET upgrade"
alias updg="$APT_GET update && $APT_GET upgrade"
ZYPPER='sudo zypper'
alias zypper="$ZYPPER"
alias zypi="$ZYPPER in"
alias rm='rm -i'
alias rd='rm -r'
alias md='mkdir -p'
alias sudo='sudo '
alias _='sudo'
alias reboot='shutdown -r now'
alias h='history'
alias c='clear'
alias top='htop'
alias e="$EDITOR"
alias rebash='. ~/.bashrc'
unset -v COLOR_AUTO
unset -v APT_GET
unset -v ZYPPER