irongit

Hygo AI custom shell.

sources local source.sh

huncholanehuncholaneauthored
parent d3a7567commit e7108edfeb1b64d7c5aae3ac4c70617265eb2b6dBrowse files

1 file changed, +6 -0

+6-0setup.sh
@@ -21,4 +21,10 @@ fi
2121 # Set up bash prompt
2222 if [ -n "$BASH_VERSION" ]; then
2323 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
2430 fi