Created
November 16, 2020 16:32
-
-
Save jkeychan/b6228219dfaaee03e5008f192974eede to your computer and use it in GitHub Desktop.
Tailored Bash Profile for OSX
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
#MAC OS | |
#echo defaults write com.apple.finder AppleShowAllFiles TRUE | |
alias updatedb='/usr/libexec/locate.updatedb' | |
alias en1='/sbin/ifconfig en1' | |
alias en0='/sbin/ifconfig en0' | |
alias tun0='/sbin/ifconfig utun1' | |
alias updatedb='/usr/libexec/locate.updatedb' | |
#DISABLE APPLES ZSH BULLSHIT | |
export BASH_SILENCE_DEPRECATION_WARNING=1 | |
#COMMAND ALIASES | |
alias ll='ls -al' | |
alias lg='ls -al |grep -i \!*' | |
alias greo='grep' | |
alias x='exit' | |
alias h='history' | |
alias histroy='history' | |
alias cl='clear' | |
alias pign='ping' | |
alias celar='clear' | |
alias trace='traceroute -FI' | |
alias decrypt='/usr/local/bin/gpg --decrypt' | |
alias encrypt='/usr/local/bin/gpg --encrypt' | |
#alias chromeproxy="open -a "Google Chrome --args --proxy-server='socks5://127.0.0.1:1080'"" | |
#HOST ALIASES | |
# | |
# | |
# | |
#ENVIRONMENT VARIABLES | |
export JAVA_HOME=$(/usr/libexec/java_home) | |
export LC_ALL='C' | |
export ARCHFLAGS="-arch x86_64" | |
#DAVMAIL | |
export DAVMAIL_CONF=/Users/jeff/.davmail/etc/davmail/davmail.properties | |
export DAVMAIL_LOG=/Users/jeff/.davmail/var/log | |
# FANCY BASH TERM | |
export PS1="[\[\033[32m\]\w]\[\033[0m\]\n\[\033[1;34m\](\h)\[\033[1;36m\]\u\[\033[1;33m\]-> \[\033[0m\]" | |
# Setting PATH for Python 3.8 | |
# The original version is saved in .bash_profile.pysave | |
PATH="/Library/Frameworks/Python.framework/Versions/3.8/bin:${PATH}" | |
export PATH="/usr/local/opt/openssl/bin:$PATH" | |
export PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment