Created
November 22, 2015 11:57
-
-
Save edele/dadb692df08dcbd7824b to your computer and use it in GitHub Desktop.
dotfiles
This file contains hidden or 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
| alias ..="cd .." | |
| alias ...="cd ../.." | |
| alias ....="cd ../../.." | |
| alias .....="cd ../../../.." | |
| alias -- -="cd -" | |
| alias dl="cd ~/Downloads" | |
| alias dt="cd ~/Desktop" | |
| alias s="cd ~/Sites" | |
| alias t="cd ~/Tests" | |
| alias wrk="cd ~/Work" | |
| alias ll='ls -alF' | |
| alias update='sudo softwareupdate -i -a; brew update; brew upgrade --all; brew cleanup; npm install npm -g; npm update -g; sudo gem update --system; sudo gem update' | |
| alias ga='git add --all' | |
| alias gs='git status' | |
| alias gc='git commit -m' | |
| alias gp='git push' | |
| alias server='php -S localhost:8080' | |
| # View HTTP traffic | |
| alias sniff="sudo ngrep -d 'en1' -t '^(GET|POST) ' 'tcp and port 80'" | |
| alias httpdump="sudo tcpdump -i en1 -n -s 0 -w - | grep -a -o -E \"Host\: .*|GET \/.*\"" | |
| # Recursively delete `.DS_Store` files | |
| alias cleanup="find . -type f -name '*.DS_Store' -ls -delete" | |
| # Show/hide hidden files in Finder | |
| alias show="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder" | |
| alias hide="defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder" | |
| # Ring the terminal bell, and put a badge on Terminal.app’s Dock icon | |
| alias badge="tput bel" | |
| # added by travis gem | |
| [ -f /Users/edele/.travis/travis.sh ] && source /Users/edele/.travis/travis.sh | |
| # unix epoch time | |
| alias timestamp='date +%s' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment