https://github.com/anarubioruiz/bash-prompt
https://github.com/anarubioruiz/bash-prompt
bash bash-prompt
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/anarubioruiz/bash-prompt
- Owner: anarubioruiz
- Created: 2020-02-12T23:50:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-05T07:53:08.000Z (over 5 years ago)
- Last Synced: 2025-02-24T15:55:36.927Z (over 1 year ago)
- Topics: bash, bash-prompt
- Homepage:
- Size: 181 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bash prompt design

1. Clone this repository.
2. Create a link to the `.bash-prompt` file in your home directory:
```
ln -s /.bash-prompt ~
```
2. Add at the end of your `.bashrc` (located also in your home dir) the following:
```
source /home/$(whoami)/.bash-prompt
PROMPT_COMMAND="set-prompt ; $PROMPT_COMMAND"
```
**DONE!**
### Recommendations
- Background color: #E4E4E4
- Text color: #555753
## References
1. https://gist.github.com/davidvilla/4541c13f7a53f65c04edc8893d9a8f3f
2. https://martin.ankerl.com/2016/11/04/linux-bash-prompt/
3. https://misc.flogisoft.com/bash/tip_colors_and_formatting