diff --git a/assets/script/shell/check_package_update.sh b/assets/script/shell/check_package_update.sh index 2092d65..ef62893 100644 --- a/assets/script/shell/check_package_update.sh +++ b/assets/script/shell/check_package_update.sh @@ -1,4 +1,26 @@ -source ~/.zshrc +#!/bin/bash + +# Load .zprofile if it exists +if [ -f ~/.zprofile ]; then + source ~/.zprofile +fi + +# Load .bash_profile if it exists +if [ -f ~/.bash_profile ]; then + source ~/.bash_profile +fi + +# Load .bashrc if it exists (optional) +if [ -f ~/.bashrc ]; then + source ~/.bashrc +fi + +# Load .zshrc if it exists (optional) +if [ -f ~/.zshrc ]; then + source ~/.zshrc +fi + + echo $PATH echo "Current workspace: ${PWD}" diff --git a/assets/script/shell/path_importer.sh b/assets/script/shell/path_importer.sh new file mode 100755 index 0000000..157c898 --- /dev/null +++ b/assets/script/shell/path_importer.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# Load .zprofile if it exists +if [ -f ~/.zprofile ]; then + source ~/.zprofile +fi + +# Load .bash_profile if it exists +if [ -f ~/.bash_profile ]; then + source ~/.bash_profile +fi + +# Load .bashrc if it exists (optional) +if [ -f ~/.bashrc ]; then + source ~/.bashrc +fi + +# Load .zshrc if it exists (optional) +if [ -f ~/.zshrc ]; then + source ~/.zshrc +fi