irongit

Hygo AI custom shell.

terminal prompt a little better

huncholanehuncholaneauthored
parent 9b09dffcommit b15c87efb28e3beb906dbee6ccf543f5157b979bBrowse files

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
211
312 # HELP basic
413 alias sz="source ~/.zshrc"
@@ -18,5 +27,5 @@ alias dce="docker compose exec -it"
1827 function gcom() {
1928 git add .
2029 git commit -m "$*"
21- git push
22-}
30+}
31+# HELP git