fix script name

This commit is contained in:
Mylloon 2021-11-14 17:03:02 +01:00
parent 6f7462d68d
commit b3c0bfa197

View file

@ -30,21 +30,21 @@ else # if the folder isn't already created (first run?)
if [ -f $HOME/.bashrc ] ; then
echo "" >> $HOME/.bashrc
echo "# Alias for Codium" >> $HOME/.bashrc
echo "alias updateCodium='\$HOME/.vscodium_scripts/downloadVSCodium.sh'" >> $HOME/.bashrc
echo "alias updateCodium='\$HOME/.vscodium_scripts/updateVSCodium.sh'" >> $HOME/.bashrc
echo "alias code='\$HOME/.vscodium_scripts/VSCodium.AppImage --no-sandbox'" >> $HOME/.bashrc
fi
# to .zshrc if exists
if [ -f $HOME/.zshrc ] ; then
echo "" >> $HOME/.zshrc
echo "# Alias for Codium" >> $HOME/.zshrc
echo "alias updateCodium='\$HOME/.vscodium_scripts/downloadVSCodium.sh'" >> $HOME/.zshrc
echo "alias updateCodium='\$HOME/.vscodium_scripts/updateVSCodium.sh'" >> $HOME/.zshrc
echo "alias code='\$HOME/.vscodium_scripts/VSCodium.AppImage --no-sandbox'" >> $HOME/.zshrc
fi
# to config.fish if exists
if [ -f $HOME/.config/fish/config.fish ] ; then
echo "" >> $HOME/.config/fish/config.fish
echo "# Abbrevations for Codium" >> $HOME/.config/fish/config.fish
echo "abbr updateCodium '\$HOME/.vscodium_scripts/downloadVSCodium.sh'" >> $HOME/.config/fish/config.fish
echo "abbr updateCodium '\$HOME/.vscodium_scripts/updateVSCodium.sh'" >> $HOME/.config/fish/config.fish
echo "abbr code '\$HOME/.vscodium_scripts/VSCodium.AppImage --no-sandbox'" >> $HOME/.config/fish/config.fish
fi
fi