diff --git a/res/wsetup.sh b/res/wsetup.sh index 42be624..253db03 100755 --- a/res/wsetup.sh +++ b/res/wsetup.sh @@ -40,10 +40,10 @@ case $SHELL in ;; */fish) [ -f /etc/profile ] && . /etc/profile - xsess_tmp=`mktemp /tmp/xsess-env-XXXXXX` + wlsess_tmp=`mktemp /tmp/wlsess-env-XXXXXX` $SHELL --login -c "/bin/sh -c 'export -p' > $xsess_tmp" - . $xsess_tmp - rm -f $xsess_tmp + . $wlsess_tmp + rm -f $wlsess_tmp ;; *) # Plain sh, ksh, and anything we do not know. [ -f /etc/profile ] && . /etc/profile