Hygo AI custom shell.
terminal prompt a little better
1 file changed, +12 -3
+12-3.bashrc
| @@ -1,4 +1,13 @@ | ||
| 1 | -echo -e "\e[38;5;214mHygoShell is active.\e[0m\n" | |
| 1 | +echo -e "\n\e[38;5;214mHygoShell is active.\e[0m\n" | |
| 2 | + | |
| 3 | +# Set the prompt | |
| 4 | +if [ -n "$ZSH_VERSION" ]; then | |
| 5 | + PROMPT="%n@%m:%~"$'\n'"$ " | |
| 6 | +fi | |
| 7 | +if [ -n "$BASH_VERSION" ]; then | |
| 8 | + PS1="\u@\h:\w\n$ " | |
| 9 | +fi | |
| 10 | +# Set the prompt | |
| 2 | 11 | |
| 3 | 12 | # HELP basic |
| 4 | 13 | alias sz="source ~/.zshrc" |
| @@ -18,5 +27,5 @@ alias dce="docker compose exec -it" | ||
| 18 | 27 | function gcom() { |
| 19 | 28 | git add . |
| 20 | 29 | git commit -m "$*" |
| 21 | - git push | |
| 22 | -} | |
| 30 | +} | |
| 31 | +# HELP git |