2018-02-26 08:18:40 +00:00
|
|
|
###########
|
|
|
|
# Aliases #
|
|
|
|
###########
|
|
|
|
|
|
|
|
alias acs='apt-cache search'
|
|
|
|
alias ls='ls --classify --tabsize=0 --literal --color=auto --show-control-chars -h'
|
|
|
|
alias ll='ls -lha'
|
|
|
|
alias l='sl'
|
|
|
|
alias lll='sl'
|
|
|
|
alias less='less --quiet'
|
|
|
|
alias df='df --human-readable'
|
|
|
|
alias du='du --human-readable'
|
|
|
|
# alias mutt='mutt -y'
|
|
|
|
alias upgrade='sudo apt-get update && sudo apt-get -dy dist-upgrade && sudo apt-get dist-upgrade'
|
|
|
|
alias feh='feh --auto-rotate'
|
|
|
|
# alias -g GP='|grep '
|
|
|
|
alias grep="grep --color"
|
|
|
|
alias ssh='ssh -A'
|
|
|
|
# alias -s txt=cat
|
|
|
|
alias rm='rm -I'
|
2018-05-27 18:47:32 +00:00
|
|
|
alias ip='ip --color'
|
|
|
|
alias ipa='ip route && echo && ip --brief address'
|
|
|
|
alias ipr='ip --brief address && echo && ip route'
|
2018-02-26 08:18:40 +00:00
|
|
|
alias which='which -a'
|
|
|
|
# Le fameux cd ...etc
|
|
|
|
alias -g ...='../..'
|
|
|
|
alias -g ....='../../..'
|
|
|
|
alias -g .....='../../../..'
|
|
|
|
alias -g ......='../../../../..'
|
|
|
|
alias -g .......='../../../../../..'
|
|
|
|
alias -g ........='../../../../../../..'
|
|
|
|
# Hackish tweaks
|
|
|
|
alias steam-wine="WINEDEBUG=-all wine $WINEPREFIX/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe -no-dwrite -no-cef-sandbox &"
|
|
|
|
alias pacaur='AURDEST=$HOME/aur pacaur'
|
|
|
|
alias redwm='cd ~/aur/dwm-git; updpkgsums; makepkg -fi --noconfirm; killall dwm'
|
|
|
|
alias minecraft='java -jar $HOME/.minecraft/launcher.jar'
|
|
|
|
alias rot13="tr '[A-Za-z]' '[N-ZA-Mn-za-m]'"
|
2018-03-19 18:48:46 +00:00
|
|
|
alias shuffle='mpv --shuffle --display-tags= --no-audio-display'
|
2018-02-26 08:18:40 +00:00
|
|
|
alias steam="LD_PRELOAD='/usr/\$LIB/libstdc++.so.6 /usr/\$LIB/libgcc_s.so.1 /usr/\$LIB/libxcb.so.1 /usr/\$LIB/libgpg-error.so' /usr/bin/steam"
|
|
|
|
alias surftor='http_proxy=socks5://127.0.0.1:9050/ surf'
|
2018-05-27 18:48:01 +00:00
|
|
|
alias ytmp3='youtube-dl -x --audio-format mp3 --no-playlist -o "%(title)s.%(ext)s" "$(xsel -ob)"'
|
2018-02-26 08:18:40 +00:00
|
|
|
# Fix pour archlinux
|
|
|
|
alias zbarcam='LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so zbarcam'
|
|
|
|
|
|
|
|
# vim: ft=zsh
|