summaryrefslogtreecommitdiffstats
path: root/.config/fish/config.fish
diff options
context:
space:
mode:
Diffstat (limited to '.config/fish/config.fish')
-rw-r--r--.config/fish/config.fish5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
index 3c945fd..06ec5e3 100644
--- a/.config/fish/config.fish
+++ b/.config/fish/config.fish
@@ -1,3 +1,8 @@
+# source /etc/profile with bash for login shell
+if status is-login
+ exec bash -c "test -e /etc/profile && source /etc/profile; exec fish"
+end
+
set --export PATH ~/.local/bin $PATH
set --export EDITOR "vim"
set --export GIT_RADAR_FORMAT " \\x01\\033[1;30m\\x02git:(\\x01\\033[0m\\x02%{branch}%{ :local}\\x01\\033[1;30m\\x02)\\x01\\033[0m\\x02%{ :stash}%{ :changes}"