make codium independant from his started terminal and hide all the output

This commit is contained in:
Mylloon 2021-11-14 17:06:46 +01:00
parent b3c0bfa197
commit 7c043cddaf

View file

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