summaryrefslogtreecommitdiff
path: root/system/fish/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/fish/doinst.sh')
-rw-r--r--system/fish/doinst.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/fish/doinst.sh b/system/fish/doinst.sh
index d34cf8602d..1632c14d33 100644
--- a/system/fish/doinst.sh
+++ b/system/fish/doinst.sh
@@ -13,3 +13,5 @@ config() {
config etc/fish/config.fish.new
+# add Fish to /etc/shells
+grep -qe '^/usr/bin/fish$' /etc/shells || echo '/usr/bin/fish' >> /etc/shells