Last active
April 29, 2022 11:41
-
-
Save darkarnium/3839595aa2f913cc9e438affd32332d5 to your computer and use it in GitHub Desktop.
Bash setup
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='\[\033[38;5;7m\][\[\]\[\033[38;5;2m\]\u\[\]\[\033[38;5;7m\]::\[\]\[\033[38;5;2m\]\h\[\]\[\033[38;5;7m\] \[\]\[\033[38;5;33m\]\W\[\]\[\033[38;5;7m\]][\[\]\[\033[38;5;202m\]$?\[\]\[\033[38;5;7m\]]\$ \[\]' | |
export HISTSIZE= | |
export HISTFILESIZE= | |
export HISTTIMEFORMAT="%y-%m-%d %T :: " | |
export PROMPT_COMMAND="history -a; $PROMPT_COMMAND" | |
export PYTHONSTARTUP=$HOME/.pythonrc.py |
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
try: | |
import readline | |
except ImportError: | |
print("Module readline not available.") | |
else: | |
import rlcompleter | |
readline.parse_and_bind("tab: complete") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment