Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Navigation
- alias ,='cd -'
- alias ↑='cd ..'
- alias pu='pushd'
- alias po='popd'
- # Files & Folders
- alias cp='cp -i'
- alias mv='mv -i'
- alias mkdir='mkdir -v -p'
- function mkcd() { mkdir -p -v "$1"; cd "$1"; }
- alias ls='ls --color=au -w 50'
- alias ll='ls -lArh --color=au'
- alias lsd='ls --color -d */'
- alias lsf='ls -f'
- alias lsr='ls -cr'
- alias big='du --max-depth=1 | sort -nr | head'
- alias home='cd && clear'
- # Internet
- alias up='ping -c 1 google.com'
- alias scp='scp -r'
- alias wget='wget -c'
- OPERA="opera -private -nomail -nolirc"
- function goog() {
- url=`echo google.com/search?q=$(echo "$@" | sed s/\ /+/g)`
- "$OPERA $url" &> /dev/null &
- }
- function etym() {
- url=`echo etymonline.com/index.php?search=$(echo "$@" | sed s/\ /+/g)`
- "$OPERA $url" &> /dev/null &
- }
- # Media
- alias mpl='mplayer -really-quiet &> /dev/null'
- alias vmpl='mplayer -fs -aspect 16:9 -really-quiet'
- alias rfeh='feh -rFZ'
- alias zfeh='feh -rFzZ'
- alias feh='feh -FZ'
- complete -f mpl vmpl rfeh zfeh
- function prns(){
- time=$(date +%F--%H:%M:%S)
- scrot "$time.png" -e "mv $time.png ~/docs/printscreen/" -q 85
- }
- function prnsi(){
- time=$(date +%F--%H:%M:%S)
- scrot "$time.png" -s -e "mv $time.png ~/docs/printscreen/" -q 85
- }
- # Packages
- alias yS='yaourt -S'
- alias yss='yaourt -Ss'
- alias yR='yaourt -R'
- alias yRns='yaourt -Rns'
- alias syu='yaourt -Syu'
- # Miscellenea
- alias ka='killall'
- alias c='clear'
- alias nano='nano -BELOxw -T 4'
- alias keys='xset r rate 150 20;setxkbmap gb'
- alias shrc='source ~/.bashrc && clear'
- # CPU freq
- alias cod='sudo modprobe acpi-cpufreq;sudo cpufreq-set -g ondemand'
- alias cps='sudo cpufreq-set -g powersave'
- alias cpf='sudo cpufreq-set -g performance'
- # Common Errors...
- alias print='echo'
- alias feg='feh'
- alias cd..='cd ..'
- alias cd~='cd ~'
- alias cd-='cd -'
- alias oython='python'
- alias greo='grep'
- alias caat='cat'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement