From 9be31f1d59b96d4845657d3febad8d9f1ffb26e4 Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Mon, 7 Aug 2023 00:37:36 -0400 Subject: feat: bashisms in fish (source `/etc/profile` and `.zprofile` if exists) --- .config/fish/config.fish | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.config/fish/config.fish') diff --git a/.config/fish/config.fish b/.config/fish/config.fish index b16bd7e..02152f7 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,3 +1,9 @@ +if status is-login + exec bash -c "test -e /etc/profile && source /etc/profile;\ + test -e ~/.zprofile && source ~/.zprofile;\ + exec fish" +end + if status is-interactive # commands to run in interactive sessions can go here fish_vi_key_bindings -- cgit v1.2.3