Path updates, Git aliases, and removing job specific items.
This commit is contained in:
parent
5f6f43a224
commit
8fc624bcf8
1 changed files with 16 additions and 3 deletions
|
|
@ -2,30 +2,36 @@
|
||||||
alias sites='cd /Users/shawnborton/Sites'
|
alias sites='cd /Users/shawnborton/Sites'
|
||||||
alias Sites='cd /Users/shawnborton/Sites'
|
alias Sites='cd /Users/shawnborton/Sites'
|
||||||
alias kboxsites='cd /Users/shawnborton/Kalabox'
|
alias kboxsites='cd /Users/shawnborton/Kalabox'
|
||||||
alias axwaysrcdir='cd docroot/sites/all/themes/axway/assets/src'
|
|
||||||
alias ..="cd .."
|
alias ..="cd .."
|
||||||
alias ...="cd ../.."
|
alias ...="cd ../.."
|
||||||
alias h="cd ~"
|
alias h="cd ~"
|
||||||
alias back="cd -"
|
alias back="cd -"
|
||||||
alias finder='open -a 'Finder' .'
|
alias finder='open -a 'Finder' .'
|
||||||
alias ll='ls -l'
|
alias ll='ls -l'
|
||||||
|
alias lla='ls -la'
|
||||||
|
|
||||||
# FOR CHROME
|
# FOR CHROME
|
||||||
alias chrome='open -a "Google Chrome"'
|
alias chrome='open -a "Google Chrome"'
|
||||||
|
alias chrome-remote='/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222'
|
||||||
|
|
||||||
# PHP
|
# PHP
|
||||||
alias php56='/Applications/XAMPP/bin/php'
|
alias php56='/Applications/XAMPP/bin/php'
|
||||||
|
alias php7='$(brew --prefix homebrew/php/php71)/bin/php'
|
||||||
alias drucc='drush cc'
|
alias drucc='drush cc'
|
||||||
alias drucca='drush cc all'
|
alias drucca='drush cc all'
|
||||||
alias drupal='$(brew --prefix homebrew/php/php71)/bin/php /usr/local/bin/drupal'
|
#alias drupal='$(brew --prefix homebrew/php/php71)/bin/php /usr/local/bin/drupal'
|
||||||
alias update-global-composer='cd ~/.composer && composer update'
|
alias update-global-composer='cd ~/.composer && composer update'
|
||||||
alias composer-update-global='update-global-composer'
|
alias composer-update-global='update-global-composer'
|
||||||
|
alias d8check='composer update --dry-run'
|
||||||
|
alias termcc="terminus env:clear-cache"
|
||||||
|
|
||||||
# PATH SHENANIGANS
|
# PATH SHENANIGANS
|
||||||
export XAMPP_PHP=/Applications/XAMPP/bin
|
export XAMPP_PHP=/Applications/XAMPP/bin
|
||||||
export DRUSH_PHP='/Applications/XAMPP/bin/php'
|
export DRUSH_PHP='/Applications/XAMPP/bin/php'
|
||||||
|
#export DRUSH_PHP='/usr/local/bin/php'
|
||||||
#export PATH=$PATH:$XAMPP_PHP:./node_modules/.bin:$HOME/.composer/vendor/bin
|
#export PATH=$PATH:$XAMPP_PHP:./node_modules/.bin:$HOME/.composer/vendor/bin
|
||||||
export PATH=$XAMPP_PHP:$(brew --prefix homebrew/php/php71)/bin:$PATH:./node_modules/.bin:$HOME/.composer/vendor/bin
|
#export PATH=$XAMPP_PHP:$(brew --prefix homebrew/php/php71)/bin:$PATH:./node_modules/.bin:$HOME/.composer/vendor/bin
|
||||||
|
export PATH=$(brew --prefix homebrew/php/php71)/bin:$PATH:$XAMPP_PHP:./node_modules/.bin:$HOME/.composer/vendor/bin
|
||||||
#export PATH=$XAMPP_PHP:$PATH:./node_modules/.bin:$HOME/.composer/vendor/bin
|
#export PATH=$XAMPP_PHP:$PATH:./node_modules/.bin:$HOME/.composer/vendor/bin
|
||||||
#export PATH=$XAMPP_PHP:/usr/local/bin:$PATH:./node_modules/.bin:$HOME/.composer/vendor/bin
|
#export PATH=$XAMPP_PHP:/usr/local/bin:$PATH:./node_modules/.bin:$HOME/.composer/vendor/bin
|
||||||
source "$HOME/.console/console.rc" 2>/dev/null
|
source "$HOME/.console/console.rc" 2>/dev/null
|
||||||
|
|
@ -39,6 +45,8 @@ alias ga='git add'
|
||||||
alias gb='git branch'
|
alias gb='git branch'
|
||||||
alias gs='git status'
|
alias gs='git status'
|
||||||
alias kga='kbox git add'
|
alias kga='kbox git add'
|
||||||
|
alias gpshom='git push origin master'
|
||||||
|
alias gpllom='git pull origin master'
|
||||||
alias kgb='kbox git branch'
|
alias kgb='kbox git branch'
|
||||||
alias kgs='kbox git status'
|
alias kgs='kbox git status'
|
||||||
|
|
||||||
|
|
@ -48,6 +56,11 @@ alias dotconfig='/usr/bin/git --git-dir=$HOME/.myconf/ --work-tree=$HOME'
|
||||||
export NVM_DIR="/Users/shawnborton/.nvm"
|
export NVM_DIR="/Users/shawnborton/.nvm"
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
|
||||||
|
# include .job_aliases if it exists
|
||||||
|
if [ -f $HOME/.job_aliases ]; then
|
||||||
|
. $HOME/.job_aliases
|
||||||
|
fi
|
||||||
|
|
||||||
parse_git_branch() {
|
parse_git_branch() {
|
||||||
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
|
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue