2016-04-21 22:38:34 +02:00
|
|
|
set -x ARCHFLAGS -arch_x86_64
|
2017-07-21 10:13:45 +02:00
|
|
|
set -x GPG_TTY (tty)
|
2016-04-21 22:38:34 +02:00
|
|
|
|
|
|
|
eval (thefuck --alias | tr '\n' ';')
|
|
|
|
alias l="ls"
|
|
|
|
alias diff='colordiff'
|
|
|
|
alias grep='grep --color=auto'
|
|
|
|
alias more='less'
|
|
|
|
alias df='df -h'
|
|
|
|
alias du='du -c -h'
|
|
|
|
alias mkdir='mkdir -p -v'
|
|
|
|
alias nano='nano -w'
|
|
|
|
alias ping='ping -c 3'
|
|
|
|
alias pingtest='ping -c 3 marcel-kapfer.de'
|
|
|
|
alias dmesg='dmesg -HL'
|
|
|
|
alias da='date "+%A, %B %d, %Y [%T]"'
|
|
|
|
alias du1='du --max-depth=1'
|
|
|
|
alias hist='history | grep' # requires an argument
|
|
|
|
alias openports='ss --all --numeric --processes --ipv4 --ipv6'
|
|
|
|
alias pgg='ps -Af | grep' # requires an argument
|
|
|
|
alias ln='ln -i'
|
|
|
|
alias chown='chown --preserve-root'
|
|
|
|
alias chmod='chmod --preserve-root'
|
|
|
|
alias chgrp='chgrp --preserve-root'
|
|
|
|
alias cls=' echo -ne "\033c"'
|
|
|
|
alias ps='ps aux k%cpu'
|
|
|
|
alias new='touch'
|
2017-01-23 08:30:30 +01:00
|
|
|
alias re='/sbin/reboot'
|
|
|
|
alias off='/sbin/poweroff'
|
2016-04-21 22:38:34 +02:00
|
|
|
alias vol='alsamixer'
|
|
|
|
alias q=' exit'
|
|
|
|
alias Q=' exit'
|
|
|
|
alias x=' exit'
|
|
|
|
alias cd..='cd ..'
|
2017-05-20 20:23:14 +02:00
|
|
|
alias sbcl='rlwrap sbcl'
|
2017-07-31 17:56:27 +02:00
|
|
|
alias o='xdg-open'
|
2016-12-14 09:45:28 +01:00
|
|
|
alias mmk2410='~/.mmk2410'
|
|
|
|
|
2016-07-16 21:31:43 +02:00
|
|
|
if [ -z $SSH_CLIENT ]
|
2016-11-23 09:21:54 +01:00
|
|
|
~/.mmk2410
|
|
|
|
end
|
|
|
|
|
|
|
|
if [ -z $EDITOR ]
|
2016-12-23 22:06:39 +01:00
|
|
|
set -Ux EDITOR es
|
2016-11-23 09:21:54 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
if [ -z $VISUAL ]
|
2016-12-23 22:06:39 +01:00
|
|
|
set -Ux VISUAL es
|
2016-07-16 21:31:43 +02:00
|
|
|
end
|
2016-04-21 22:38:34 +02:00
|
|
|
|
2017-01-23 08:30:30 +01:00
|
|
|
if [ -z $GIT_EDITOR ]
|
|
|
|
set -Ux GIT_EDITOR es
|
|
|
|
end
|
|
|
|
|
2016-12-14 09:45:28 +01:00
|
|
|
if [ -z $GOPATH ]
|
|
|
|
set -Ux GOPATH ~/.go
|
|
|
|
end
|