modifications to obtain working environment
This commit is contained in:
@@ -8,8 +8,6 @@ else # OS X `ls`
|
||||
colorflag="-G"
|
||||
fi
|
||||
|
||||
alias vim="nvim"
|
||||
|
||||
# Filesystem aliases
|
||||
alias ..='cd ..'
|
||||
alias ...='cd ../..'
|
||||
@@ -27,9 +25,6 @@ alias grep='grep --color=auto'
|
||||
alias df='df -h' # disk free, in Gigabytes, not bytes
|
||||
alias du='du -h -c' # calculate disk usage for a folder
|
||||
|
||||
# Applications
|
||||
alias ios='open -a /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app'
|
||||
|
||||
# IP addresses
|
||||
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
|
||||
alias localip="ipconfig getifaddr en1"
|
||||
@@ -65,14 +60,3 @@ alias showdesktop="defaults write com.apple.finder CreateDesktop -bool true && k
|
||||
for method in GET HEAD POST PUT DELETE TRACE OPTIONS; do
|
||||
alias "$method"="lwp-request -m '$method'"
|
||||
done
|
||||
|
||||
# Stuff I never really use but cannot delete either because of http://xkcd.com/530/
|
||||
alias stfu="osascript -e 'set volume output muted true'"
|
||||
alias pumpitup="osascript -e 'set volume 10'"
|
||||
|
||||
# Kill all the tabs in Chrome to free up memory
|
||||
# [C] explained: http://www.commandlinefu.com/commands/view/402/exclude-grep-from-your-grepped-output-of-ps-alias-included-in-description
|
||||
alias chromekill="ps ux | grep '[C]hrome Helper --type=renderer' | grep -v extension-process | tr -s ' ' | cut -d ' ' -f2 | xargs kill"
|
||||
|
||||
alias chrome="/Applications/Google\\ \\Chrome.app/Contents/MacOS/Google\\ \\Chrome"
|
||||
alias canary="/Applications/Google\\ Chrome\\ Canary.app/Contents/MacOS/Google\\ Chrome\\ Canary"
|
||||
|
||||
Reference in New Issue
Block a user