diff --git a/updateVSCodium.sh b/updateVSCodium.sh index bf9521a..d3eb920 100644 --- a/updateVSCodium.sh +++ b/updateVSCodium.sh @@ -26,13 +26,13 @@ else # if the folder isn't already created (first run?) # adding code command and updateCodium command # to all the shell installed - # to .bashrc if exists - if [ -f $HOME/.bashrc ] ; then - echo "" >> $HOME/.bashrc - echo "# Alias for Codium" >> $HOME/.bashrc - echo "alias updateCodium='bash \$HOME/.vscodium_scripts/updateVSCodium.sh'" >> $HOME/.bashrc - echo "alias code='bash \$HOME/.vscodium_scripts/VSCodium.AppImage --no-sandbox > /dev/null 2>&1 &;disown'" >> $HOME/.bashrc - fi + # to .bashrc (i assume it always exists, anyways if not this script is hard to start + # because all the alias/abbr are using bash) + echo "" >> $HOME/.bashrc + echo "# Alias for Codium" >> $HOME/.bashrc + echo "alias updateCodium='bash \$HOME/.vscodium_scripts/updateVSCodium.sh'" >> $HOME/.bashrc + echo "alias code='bash \$HOME/.vscodium_scripts/VSCodium.AppImage --no-sandbox > /dev/null 2>&1 &;disown'" >> $HOME/.bashrc + # to .zshrc if exists if [ -f $HOME/.zshrc ] ; then echo "" >> $HOME/.zshrc @@ -40,6 +40,7 @@ else # if the folder isn't already created (first run?) echo "alias updateCodium='bash \$HOME/.vscodium_scripts/updateVSCodium.sh'" >> $HOME/.zshrc echo "alias code='bash \$HOME/.vscodium_scripts/VSCodium.AppImage --no-sandbox > /dev/null 2>&1 &;disown'" >> $HOME/.zshrc fi + # to config.fish if exists if [ -f $HOME/.config/fish/config.fish ] ; then echo "" >> $HOME/.config/fish/config.fish