Last active
September 10, 2024 22:05
-
-
Save uberhacker/b03ec5b8b1e5bef10156 to your computer and use it in GitHub Desktop.
.bashrc
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
source ~/.composer/vendor/drush/drush/examples/example.bashrc | |
source ~/.composer/vendor/drush/drush/drush.complete.sh | |
source /Library/Developer/CommandLineTools/usr/share/git-core/git-prompt.sh | |
source /Library/Developer/CommandLineTools/usr/share/git-core/git-completion.bash | |
export GIT_PS1_SHOWDIRTYSTATE=1 | |
export LSCOLORS=Dxfxcxdxbxegedabagacad | |
if [ "\$(type -t __git_ps1)" ] && [ "\$(type -t __drush_ps1)" ]; then | |
PS1='\[\033[0;92m\]\u@\h\[\033[0;97m\] \w\[\033[0;93m\]$(__git_ps1 " (%s)")\[\033[0;94m\]$(__drush_ps1 "[%s]")\[\033[00m\]\$ ' | |
fi | |
function brew() { su - local-er28429 -c "/usr/local/bin/brew $*"; } | |
alias ls='ls -G' | |
alias ll='ls -la' | |
alias grep='grep --color=auto' | |
alias ip='ifconfig | grep "inet " | grep -v 127.0.0.1 | cut -d" " -f2' | |
alias git-who='git log --oneline --pretty=format:"%cn" | sort | uniq' | |
alias vim-up='cd ~/.vim;git submodule foreach git pull' | |
alias drupalcs='phpcs --standard=$HOME/.composer/vendor/drupal/coder/coder_sniffer/Drupal --report=full --extensions=php,module,inc,install,test,profile,theme,js,css,info,txt' | |
alias dcbf='phpcbf --standard=$HOME/.composer/vendor/drupal/coder/coder_sniffer/Drupal --report=full --extensions=php,module,inc,install,test,profile,theme,js,css,info,txt' | |
alias dpcs='phpcs --standard=$HOME/drupalpractice/DrupalPractice --extensions=php,module,inc,install,test,profile,theme' | |
alias dscs='phpcs --standard=$HOME/drupalsecure_code_sniffs/DrupalSecure --extensions=php,module,inc,install,test,profile,theme' | |
alias drushn='drush -l news.utexas.edu' | |
alias drushp='drush -l president.utexas.edu' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment