Fix adding java to path for bash
This commit is contained in:
parent
710e210610
commit
a8d7412f81
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ mv jdk* jdk-16
|
|||
# On le place dans le dossier /usr/share
|
||||
sudo mv jdk-16 /usr/share
|
||||
# On l'ajoute à la path pour Bash et Fish
|
||||
export PATH=/usr/share/jdk-16/bin:$PATH
|
||||
echo "export PATH=/usr/share/jdk-16/bin:\$PATH" >> $HOME/.bashrc
|
||||
if [ -x /usr/bin/fish ] ; then
|
||||
fish -c 'fish_add_path /usr/share/jdk-16/bin'
|
||||
fi
|
||||
|
|
Reference in a new issue