Backport: Fix ~/.profile not being loaded with Fish

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion committed 2024-07-27 22:44:35 +02:00
1 parent 10cd9615ef
commit 7ece95965b
2 files changed
+2

No files matched your search

+1
View File
@@ -40,6 +40,7 @@ case $SHELL in
;;
*/fish)
[ -f /etc/profile ] && . /etc/profile
[ -f $HOME/.profile ] && . $HOME/.profile
xsess_tmp=`mktemp /tmp/xsess-env-XXXXXX`
$SHELL --login -c "/bin/sh -c 'export -p' > $xsess_tmp"
. $xsess_tmp
+1
View File
@@ -40,6 +40,7 @@ case $SHELL in
;;
*/fish)
[ -f /etc/profile ] && . /etc/profile
[ -f $HOME/.profile ] && . $HOME/.profile
xsess_tmp=`mktemp /tmp/xsess-env-XXXXXX`
$SHELL --login -c "/bin/sh -c 'export -p' > $xsess_tmp"
. $xsess_tmp