Created
February 10, 2020 10:28
-
-
Save AlenaNik/138395a1d6114f87dd71f1b408ad9b77 to your computer and use it in GitHub Desktop.
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 ~/.profile | |
eval $(thefuck --alias) | |
# You can use whatever you want as an alias, like for Mondays: | |
eval $(thefuck --alias FUCK) | |
# Setting PATH for Python 3.6 | |
# The original version is saved in .bash_profile.pysave | |
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}" | |
export PATH | |
# Setting PATH for Python 3.7 | |
# The original version is saved in .bash_profile.pysave | |
PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin:${PATH}" | |
export PATH | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
alias mysql="/Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot" | |
#export CLICOLOR=1 | |
#export LSCOLORS=ExFxCxDxBxegedabagacad | |
#PS1='$(if [[ $? == 0 ]]; then printf "[\[\e[37;45m\]\t\[\e[0m\]] \[\e[35m\]\W\[\e[0m\]\nπ "; else printf "\xf0\x9f\x98\x9c"; fi)\[\e[0m\] \u \w $ ' | |
EMOJIS=('π' 'βοΈ' ' οΈ' 'π³' 'π' 'π' 'π' 'π²' 'π³' 'π΄' 'π΅' 'π·' 'πΊ' 'πΈ' 'πΉ' 'π»' 'πΌ' 'π' 'πΎ' 'πΏ' 'π' 'π' 'π' 'π' 'π' 'βοΈ' ' οΈ' 'βοΈ' ' οΈ' 'π' 'π' 'π»' 'π' 'π' ' $ | |
RANDOM_EMOJI() { | |
SELECTED_EMOJI=${EMOJIS[$RANDOM % ${#EMOJIS[@]}]}; | |
echo $SELECTED_EMOJI; | |
} | |
#export CLICOLOR=1; | |
#export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx; | |
PS1='\n$(RANDOM_EMOJI) \[\033[1;34m\]\!\[\033[0m\] \[\033[1;35m\]\u\[\033[0m\]:\[\033[1;35m\]\W\[\033[0m\] \[\033[1;92m\]\[\033[0m\]$ ' | |
# git commamands simplified | |
alias gst='git status' | |
alias glg='git log --date-order --all --graph --format="%C(green)%h%Creset %C(yellow)%an%Creset %C(blue bold)%ar%Creset %C(red bold)%d%Creset%s"' | |
alias glg2='git log --date-order --all --graph --name-status --format="%C(green)%H%Creset %C(yellow)%an%Creset %C(blue bold)%ar%Creset %C(red bold)%d%Creset%s"' | |
alias ws='open -a /Applications/WebStorm.app' | |
# The next line updates PATH for the Google Cloud SDK. | |
if [ -f '/Users/alenanikolaeva/google-cloud-sdk/path.bash.inc' ]; then . '/Users/alenanikolaeva/google-cloud-sdk/path.bash.inc'; fi | |
# The next line enables shell command completion for gcloud. | |
if [ -f '/Users/alenanikolaeva/google-cloud-sdk/completion.bash.inc' ]; then . '/Users/alenanikolaeva/google-cloud-sdk/completion.bash.inc'; fi | |
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment