Last active
August 29, 2015 14:10
-
-
Save featherplain/896dca2786ab76bf788a to your computer and use it in GitHub Desktop.
bash config
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
# Aliases | |
alias sudo="sudo " | |
alias tr="trash" | |
alias gemupdate="sudo update_rubygems; sudo gem update; sudo gem cleanup" | |
alias brewupdate="brew update; brew upgrade; brew cleanup" | |
alias npmupdate="npm cache clear; npm update -g" | |
alias bashconf="vi ~/.bash_profile" | |
# Change directory | |
alias ..="cd .." | |
alias ...="cd ../.." | |
alias ....="cd ../../.." | |
alias .....="cd ../../../.." | |
# List segments | |
alias lsl="ls -l" | |
alias lsa="ls -la" | |
# Project aliases | |
alias prdir="cd ~/projects" | |
alias myproject="cd ~/projects/myproject" | |
alias myprojectup="cd ~/projects/myproject; gulp" | |
alias yourwptheme="cd ~/path/to/wordpress/wp-content/themes/yourtheme" | |
alias yourwpthemeup="cd ~/path/to/wordpress/wp-content/themes/yourtheme; vagrant up; gulp" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment