Skip to content

Commit fe5bfde

Browse files
committed
Update install.sh
1 parent 14feaee commit fe5bfde

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ install_link() {
2626
SOURCE_STR="\nexport PATH=\"\$HOME/.fe/bin:\$PATH\"\n"
2727
local SHELLTYPE
2828
SHELLTYPE="$(basename "/$SHELL")"
29+
ln -sf $HOME/.fe/bin/fe.js /usr/local/bin/fe
2930

3031
if [ -z "${PROFILE-}" ] ; then
3132
printf "$red> Profile not found. Tried ${PROFILE} (as defined in \$PROFILE), ~/.bashrc, ~/.bash_profile, ~/.zshrc, and ~/.profile.\n"
@@ -50,7 +51,6 @@ install_link() {
5051
$HOME/.fe/bin/fe -v
5152
# ignore: `source ~/.zshrc` cause error "autoload command not found"
5253
source "$PROFILE" 2> /dev/null
53-
command ln -sf $HOME/.fe/bin/fe.js /usr/local/bin/fe
5454
command "$SHELLTYPE"
5555
fi
5656
}

0 commit comments

Comments
 (0)