mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-20 19:24:53 +00:00
Fix ~/.profile not being loaded with Fish
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user