fix last bash/zsh fixes

This commit is contained in:
Anri 2021-11-18 12:49:49 +01:00
parent 239432984a
commit a4b3cdd5c5

View file

@ -36,7 +36,7 @@ else # if the folder isn't already created (first run?)
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
echo "alias code='\$HOME/.vscodium_scripts/VSCodium.AppImage --no-sandbox > /dev/null 2>&1 &;disown'" >> $HOME/.bashrc
echo "" >> $HOME/.bashrc
# to .zshrc if exists
@ -51,7 +51,7 @@ else # if the folder isn't already created (first run?)
# if config.fish exists
if [ -f $HOME/.config/fish/config.fish ] ; then
fish -c "abbr updateCodium 'bash \$HOME/.vscodium_scripts/updateVSCodium.sh'"
fish -c "abbr code '\$HOME/.vscodium_scripts/VSCodium.AppImage --no-sandbox > /dev/null 2>&1 & disown'"
fish -c "abbr code 'bash \$HOME/.vscodium_scripts/VSCodium.AppImage --no-sandbox > /dev/null 2>&1 & disown'"
fi
fi