adding newline and comment

This commit is contained in:
Mylloon 2021-11-14 17:00:57 +01:00
parent a4bed938a3
commit 6f7462d68d

View file

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