fish shell

This commit is contained in:
2020-06-20 15:25:05 +00:00
parent 783befcae7
commit c2d0b28960
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/bash
if [[ ! -f "/usr/bin/fish" ]]; then
if [[ "$EUID" -eq 0 ]]; then
apt-get update
apt-get install fish
else
sudo apt-get update
sudo apt-get install fish
fi
fi
chsh -s /usr/bin/fish