summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2024-04-26 14:41:00 -0400
committerMalfurious <m@lfurio.us>2024-04-26 14:41:00 -0400
commit0140bda0ca3828f5f7405e52c06142f67577456d (patch)
tree59a1c9d06f254a3bb4b68a221171c8d170a118e8
parented08bac349bffd561f332913552a4cedff5b96c4 (diff)
downloadrice-0140bda0ca3828f5f7405e52c06142f67577456d.tar.gz
rice-0140bda0ca3828f5f7405e52c06142f67577456d.zip
Source system initialization from fish config
This makes for a more properly configured environment. The missing DEBUGINFOD_URLS variable was causing breakage with valgrind. Solution is taken from the Arch Wiki.
-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}"