Skip to content

Commit

Permalink
Add fish /etc/profile and $HOME/.profile sourcing (#1331)
Browse files Browse the repository at this point in the history
  • Loading branch information
soredake committed Mar 9, 2021
1 parent 093e8e5 commit cf65e99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data/scripts/Xsession
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ case $SHELL in
rm -f $xsess_tmp
;;
*/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
Expand Down
2 changes: 2 additions & 0 deletions data/scripts/wayland-session
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ case $SHELL in
rm -f $wlsess_tmp
;;
*/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
Expand Down

0 comments on commit cf65e99

Please sign in to comment.