mirror of https://github.com/fairyglade/ly.git
Fix ~/.profile not being loaded with Fish
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
parent
a7e8b55c6e
commit
92c6a38835
|
@ -40,6 +40,7 @@ case $SHELL in
|
||||||
;;
|
;;
|
||||||
*/fish)
|
*/fish)
|
||||||
[ -f /etc/profile ] && . /etc/profile
|
[ -f /etc/profile ] && . /etc/profile
|
||||||
|
[ -f $HOME/.profile ] && . $HOME/.profile
|
||||||
xsess_tmp=`mktemp /tmp/xsess-env-XXXXXX`
|
xsess_tmp=`mktemp /tmp/xsess-env-XXXXXX`
|
||||||
$SHELL --login -c "/bin/sh -c 'export -p' > $xsess_tmp"
|
$SHELL --login -c "/bin/sh -c 'export -p' > $xsess_tmp"
|
||||||
. $xsess_tmp
|
. $xsess_tmp
|
||||||
|
|
|
@ -40,6 +40,7 @@ case $SHELL in
|
||||||
;;
|
;;
|
||||||
*/fish)
|
*/fish)
|
||||||
[ -f /etc/profile ] && . /etc/profile
|
[ -f /etc/profile ] && . /etc/profile
|
||||||
|
[ -f $HOME/.profile ] && . $HOME/.profile
|
||||||
xsess_tmp=`mktemp /tmp/xsess-env-XXXXXX`
|
xsess_tmp=`mktemp /tmp/xsess-env-XXXXXX`
|
||||||
$SHELL --login -c "/bin/sh -c 'export -p' > $xsess_tmp"
|
$SHELL --login -c "/bin/sh -c 'export -p' > $xsess_tmp"
|
||||||
. $xsess_tmp
|
. $xsess_tmp
|
||||||
|
|
Loading…
Reference in New Issue