Last active
June 23, 2018 01:06
-
-
Save unyo/bfcdfc81a66d2101c67aced713f5dedd to your computer and use it in GitHub Desktop.
.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
# bash history w/ tmux (order matters) | |
shopt -sq cdspell cmdhist extglob histappend | |
export PROMPT_COMMAND="history -a; $PROMPT_COMMAND" | |
# new bash prompt (single quotes important) | |
export PS1='[\u@\h:\w ] $ ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment