Hygo AI custom shell.
sources local source.sh
1 file changed, +6 -0
+6-0setup.sh
| @@ -21,4 +21,10 @@ fi | ||
| 21 | 21 | # Set up bash prompt |
| 22 | 22 | if [ -n "$BASH_VERSION" ]; then |
| 23 | 23 | PS1='\[\e[38;5;214m\]\u@\h \w$(git_branch=$(get_git_branch); if [ -n "$git_branch" ]; then echo " \[\e[37m\]($git_branch\[\e[0m\])"; fi)\n\$\[\e[0m\] ' |
| 24 | +fi | |
| 25 | + | |
| 26 | +# Add source ./source.sh if it exists | |
| 27 | +if [ -f ./source.sh ]; then | |
| 28 | + echo -e "\e[32mFound a source.sh in the current directory. Sourcing it.\e[0m" | |
| 29 | + source ./source.sh | |
| 24 | 30 | fi |