aboutsummaryrefslogtreecommitdiff
path: root/.config/fish
diff options
context:
space:
mode:
Diffstat (limited to '.config/fish')
-rw-r--r--.config/fish/config.fish5
1 files changed, 1 insertions, 4 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
index e649111..0ce9dbe 100644
--- a/.config/fish/config.fish
+++ b/.config/fish/config.fish
@@ -1,8 +1,5 @@
if status is-login
- exec bash -c "test -e /etc/profile && source /etc/profile;\
- test -e ~/.zprofile && source ~/.zprofile;\
- test -e ~/.profile && source ~/.profile;\
- exec fish"
+ exec bash -c 'for f in /etc/profile ~/.zprofile ~/.profile; do [ -e "$f" ] && source "$f"; done; exec fish'
end
if status is-interactive