Skip to content

Instantly share code, notes, and snippets.

@slayerlab
Created October 23, 2018 15:31
Show Gist options
  • Save slayerlab/db1336f8c93455f0468954e56ea86a8a to your computer and use it in GitHub Desktop.
Save slayerlab/db1336f8c93455f0468954e56ea86a8a to your computer and use it in GitHub Desktop.
custom .bashrc - time display and insert command on newline.
export PS1="[\[$(tput sgr0)\]\[\033[38;5;14m\]\t\[$(tput sgr0)\]\[\033[38;5;15m\] \u@\h:\[$(tput sgr0)\]\[\033[38;5;10m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\]]\n\\$ \[$(tput sgr0)\]"
@slayerlab
Copy link
Author

this was like:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment