Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juliuswadskov/git-prompt
⚡ This is my personal prompt that i use
https://github.com/juliuswadskov/git-prompt
Last synced: about 1 month ago
JSON representation
⚡ This is my personal prompt that i use
- Host: GitHub
- URL: https://github.com/juliuswadskov/git-prompt
- Owner: juliuswadskov
- License: mit
- Created: 2022-02-16T00:55:57.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-18T02:03:29.000Z (almost 3 years ago)
- Last Synced: 2024-05-20T19:54:34.805Z (7 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Installation
Put the following commands into your Git Bash Terminal
```
$ cd /etc/profile.d
$ explorer .
```Put the `git-prompt.sh` file into the folder and replace
## Sources for making the git-prompt
- https://blog.devgenius.io/how-to-customize-the-git-bash-shell-prompt-336f6aefcf3f
- https://stackoverflow.com/questions/4842424/list-of-ansi-color-escape-sequences
- https://stackoverflow.com/questions/4133904/ps1-line-with-git-current-branch-and-colors
- https://www.lihaoyi.com/post/BuildyourownCommandLinewithANSIescapecodes.html
- https://gist.github.com/bamanzi/5875262
- https://www.cyberciti.biz/faq/unix-linux-bash-script-check-if-variable-is-empty/
- The prompt is a copy of the terminal i saw in this video [youtube.com/watch?v=MxfxiR8TVNU](https://www.youtube.com/watch?v=MxfxiR8TVNU)