aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <muhq@muhq.space>2017-05-24 14:53:12 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2017-06-05 19:02:42 +0200
commitc2bcf5dcde28c5be579e50fff839882939473372 (patch)
tree8fde74b35ac7e1d8340d8385f132a47189d759dc
parentb03002c04c44a390f59ad1e0d71a1174d5d0d3ca (diff)
downloaddotfiles-c2bcf5dcde28c5be579e50fff839882939473372.tar.gz
dotfiles-c2bcf5dcde28c5be579e50fff839882939473372.zip
only exec fish if bash is not a login shell
-rw-r--r--guix/bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/bashrc b/guix/bashrc
index 44af031..986cd82 100644
--- a/guix/bashrc
+++ b/guix/bashrc
@@ -23,4 +23,4 @@ else
fi
# exec fish
-exec fish
+! shopt -q login_shell && exec fish