fix bash users
This commit is contained in:
parent
b1fb07c03c
commit
d0727bb242
1 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@ fi
|
||||||
|
|
||||||
if [ -x $HOME/.vscodium_scripts ] ; then # if the folder already exists (not the first run?)
|
if [ -x $HOME/.vscodium_scripts ] ; then # if the folder already exists (not the first run?)
|
||||||
# remove the folder
|
# remove the folder
|
||||||
rm -r $HOME/.vscodium_scripts
|
rm -rf $HOME/.vscodium_scripts
|
||||||
|
|
||||||
else # if the folder isn't already created (first run?)
|
else # if the folder isn't already created (first run?)
|
||||||
|
|
||||||
|
@ -40,14 +40,14 @@ else # if the folder isn't already created (first run?)
|
||||||
echo "" >> $HOME/.zshrc
|
echo "" >> $HOME/.zshrc
|
||||||
echo "# Alias for Codium" >> $HOME/.zshrc
|
echo "# Alias for Codium" >> $HOME/.zshrc
|
||||||
echo "alias updateCodium='bash \$HOME/.vscodium_scripts/updateVSCodium.sh'" >> $HOME/.zshrc
|
echo "alias updateCodium='bash \$HOME/.vscodium_scripts/updateVSCodium.sh'" >> $HOME/.zshrc
|
||||||
echo "alias code='bash \$HOME/.vscodium_scripts/VSCodium.AppImage --no-sandbox > /dev/null 2>&1 &;disown'" >> $HOME/.zshrc
|
echo "alias code='\$HOME/.vscodium_scripts/VSCodium.AppImage --no-sandbox > /dev/null 2>&1 & disown'" >> $HOME/.zshrc
|
||||||
echo "" >> $HOME/.zshrc
|
echo "" >> $HOME/.zshrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if config.fish exists
|
# if config.fish exists
|
||||||
if [ -f $HOME/.config/fish/config.fish ] ; then
|
if [ -f $HOME/.config/fish/config.fish ] ; then
|
||||||
fish -c "abbr updateCodium 'bash \$HOME/.vscodium_scripts/updateVSCodium.sh'"
|
fish -c "abbr updateCodium 'bash \$HOME/.vscodium_scripts/updateVSCodium.sh'"
|
||||||
fish -c "abbr code 'bash \$HOME/.vscodium_scripts/VSCodium.AppImage --no-sandbox > /dev/null 2>&1 &;disown'"
|
fish -c "abbr code '\$HOME/.vscodium_scripts/VSCodium.AppImage --no-sandbox > /dev/null 2>&1 & disown'"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Reference in a new issue