adding newline and comment
This commit is contained in:
parent
a4bed938a3
commit
6f7462d68d
1 changed files with 12 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue