Created
June 23, 2015 13:37
-
-
Save armiller/f9f160511d11c7dd93bc to your computer and use it in GitHub Desktop.
Mac .bashrc
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
export CLICOLOR='1' | |
function irc () { | |
ssh -t truth "screen -dr" | |
} | |
#export PATH=/usr/local/bin:$PATH | |
NORMAL="\[\e[0m\]" | |
RED="\[\e[1;31m\]" | |
GREEN="\[\e[1;32m\]" | |
WHITE="\[\e[0;37m\]" | |
if [[ $EUID == 0 ]] ; then | |
PS1="$RED\u@\h $WHITE\w$RED # $NORMAL" | |
else | |
PS1="$NORMAL\u@\h$NORMAL:\w$NORMAL $ $NORMAL" | |
fi | |
export EDITOR=vim | |
### START-Keychain ### | |
# Let re-use ssh-agent and/or gpg-agent between logins | |
/usr/local/bin/keychain $HOME/.ssh/id_rsa | |
source $HOME/.keychain/$HOSTNAME-sh | |
### End-Keychain ### | |
alias gs='git status' | |
alias gd='git diff' | |
alias gb='git branch' | |
alias listevents='/usr/local/Cellar/curl/7.42.1/bin/curl -k -u admin:testing https://localhost:8089/servicesNS/nobody/elemental_app/storage/collections/data/last_events' | |
alias deleteevents='/usr/local/Cellar/curl/7.42.1/bin/curl -k -u admin:testing -X DELETE https://localhost:8089/servicesNS/nobody/elemental_app/storage/collections/data/last_events' | |
export PYTHONPATH=/Applications/Splunk/etc/apps/framework/contrib/splunk-sdk-python | |
#export PATH="$HOME/.rvm/bin:$PATH" # Add RVM to PATH for scripting |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment