irongit

Hygo AI custom shell.

split the repo into multiple and added secret.sh

huncholanehuncholaneauthored
parent d7ac42ccommit 9895b4cc02a996722cbf5f485616725f32ebe60dBrowse files

3 files changed, +20 -16

+3-16.bashrc
@@ -1,25 +1,12 @@
1-CURRENT_DIR=$(pwd)
2-cd ~/.hygo
3-HYGOSHELL_UPDATE=$(git pull)
4-if [[ "$HYGOSHELL_UPDATE" == *"Already"* ]]; then
5- echo -e "\n\e[38;5;214mHygoShell is up to date.\e[0m\n"
6-else
7- echo -e "\n\e[38;5;214mHygoShell updating.\e[0m\n"
8-fi
9-cd $CURRENT_DIR
10-
11-if [ -n "$ZSH_VERSION" ]; then
12- PROMPT="%F{214}%n@%m %~"$'\n'"%f$ "
13-fi
14-if [ -n "$BASH_VERSION" ]; then
15- PS1="\[\e[38;5;214m\]\u@\h \w\n\$\[\e[0m\] "
16-fi
1+source ~/.hygo/setup.sh
2+source ~/.hygo/secret.sh
173
184 # HELP basic
195 alias sz="source ~/.zshrc"
206 alias sb="source ~/.bashrc"
217 alias c="clear"
228 alias ch="code ~/.hygo"
9+alias vh="vim ~/.hygo"
2310 # HELP basic
2411
2512 # HELP docker
+1-0.gitignore
@@ -0,0 +1 @@
1+secret.sh
+16-0setup.sh
@@ -0,0 +1,16 @@
1+CURRENT_DIR=$(pwd)
2+cd ~/.hygo
3+HYGOSHELL_UPDATE=$(git pull)
4+if [[ "$HYGOSHELL_UPDATE" == *"Already"* ]]; then
5+ echo -e "\n\e[38;5;214mHygoShell is up to date.\e[0m\n"
6+else
7+ echo -e "\n\e[38;5;214mHygoShell updating.\e[0m\n"
8+fi
9+cd $CURRENT_DIR
10+
11+if [ -n "$ZSH_VERSION" ]; then
12+ PROMPT="%F{214}%n@%m %~"$'\n'"%f$ "
13+fi
14+if [ -n "$BASH_VERSION" ]; then
15+ PS1="\[\e[38;5;214m\]\u@\h \w\n\$\[\e[0m\] "
16+fi