fix: fix typo

This commit is contained in:
行旅途 2021-05-26 08:31:54 +08:00 committed by GitHub
parent 77f6958241
commit dbad7b2dfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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