Created
December 8, 2016 00:28
-
-
Save sidedwards/f5d848719e4713affda427d18af5483d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# grc overides for ls | |
if $(gls &>/dev/null) | |
then | |
alias ls="gls -F --color" | |
alias l="gls -lAh --color" | |
alias ll="gls -l --color" | |
alias la='gls -A --color' | |
fi | |
# Easier CD navigation | |
alias ..="cd .." | |
alias ...="cd ../.." | |
alias ....="cd ../../.." | |
alias .....="cd ../../../.." | |
alias ......="cd ../../../../.." | |
alias .......="cd ../../../../../.." | |
alias ........="cd ../../../../../../.." | |
alias .........="cd ../../../../../../../.." | |
alias ..........="cd ../../../../../../../../.." | |
alias ...........="cd ../../../../../../../../../.." | |
alias ............="cd ../../../../../../../../../../.." | |
alias .............="cd ../../../../../../../../../../../.." | |
alias ..............="cd ../../../../../../../../../../../../.." | |
alias -- -="cd -" | |
alias get='read url; curl "${url}" | vim -' | |
alias speedtest="wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip" | |
# WIFI | |
alias wifion="networksetup -setairportpower en0 on" | |
alias wifioff="networksetup -setairportpower en0 off" | |
alias wifilist="/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport scan" | |
# Tar Compression | |
alias tarcomp="~/Sources/tarcomp.sh" | |
alias tardecomp="~/Sources/tardecomp.sh" | |
# Mac Commands | |
alias sleep="pmset sleepnow" | |
alias restart="sudo shutdown -r now" | |
alias delete="rm -rf" | |
# Git | |
alias su='git submodule update --init --recursive' | |
alias unfuck='git reset HEAD --hard' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment