Last active
July 8, 2017 18:19
-
-
Save ecmartz/43527037826cfa608bb15211af304a7c to your computer and use it in GitHub Desktop.
Fix for iTerm2/PyCharm terminal integration.
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
#INSTALL | |
#In PyCharm Settings: Go to Tools > Terminal and in "Shell path" set it to /bin/bash <path_to_pycharm_terminal.sh> | |
export PROMT_COMMAND= | |
export PS1="\[\e[31m\]\u\[\e[0m\] at \[\e[33m\]\h\[\e[0m\] in \[\e[32m\]\w\[\e[0m\] at [\A] \[\033[31m\]`git branch 2> /dev/null | grep -e ^* | sed -E s/^\\\\\*\ \(.+\)$/\(\\\\\1\)\ /`\[\033[35m\]\n$ \[\033[00m\]" | |
bash -i | |
#Special thanks: https://stackoverflow.com/a/41226149 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment