Last active
February 21, 2020 22:38
-
-
Save ruan65/9e007b59eab4a373eb7b9e5f64e9947a to your computer and use it in GitHub Desktop.
my mac bash profile
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 PS1='$ ' | |
export PS1='$ ' | |
export PS1='\W $ ' | |
export EDITOR=nano | |
export VISUAL='$EDITOR' | |
export PATH=$PATH:~/Library/Android/sdk/platform-tools:~/soft/flutter/bin/cache/dart-sdk/bin:~/soft/flutter/bin:/usr/local/opt/openssl/bin | |
alias hs='history' | |
alias ll='ls -lah' | |
alias ga='git add .' | |
alias gc='git commit -m' | |
alias gp='git push' | |
alias gb='git branch' | |
alias gl='git log --oneline' | |
alias gch='git checkout' | |
alias gconfg='git config --global user.email "[email protected]" && git config --global user.name "Andreyka"' | |
alias gconfl='git config user.email "[email protected]" && git config user.name "Andreyka"' | |
alias ty='echo "You are welcome, dear Andreyka!"' | |
alias charm="open -a /Applications/PyCharm*.app" | |
if [ -f $(brew --prefix)/etc/bash_completion ]; then | |
. $(brew --prefix)/etc/bash_completion | |
fi | |
if [ -f ~/.git-completion.bash ]; then | |
. ~/.git-completion.bash | |
fi | |
export PATH="$PATH:/Applications/Android\ Studio.app/Contents/jre/jdk/Contents/Home/bin/keytool" | |
export PATH="$PATH:/Applications/Android\ Studio.app/Contents/jre/jdk/Contents/Home/bin/" | |
# 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 | |
source '/Users/a/.my_commands.sh' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment