File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ eval "$(curl -s https://raw.githubusercontent.com/soraxas/shsh/master/libexec/sh
7
7
8
8
# # stop if basher is already installed
9
9
if [ -d " $SHSH_ROOT " ]; then
10
- echo " shsh already exists at '$SHSH_ROOT '" >&2
10
+ echo " shsh already exists at '$SHSH_ROOT '." >&2
11
+ echo " Delete it if you want to start this bootstrap process again." >&2
11
12
exit 1
12
13
fi
13
14
@@ -48,7 +49,9 @@ case "$startup_type" in
48
49
printf ' %s\n' ' status --is-interactive; and shsh init fish | source' >> " $startup_script "
49
50
;;
50
51
* )
51
- echo " Unknown shell '$shell_type '"
52
+ echo " Unknown shell '$shell_type '." >&2
53
+ echo " Perhaps set the \$ SHELL environment variable to your shell type before running this?" >&2
54
+ echo " e.g. export SHELL=bash" >&2
52
55
exit 1
53
56
;;
54
57
esac
58
61
cd " $SHSH_ROOT " && make self-linking
59
62
)
60
63
64
+ # restart shell
65
+ exec " $SHELL " -l
66
+
You can’t perform that action at this time.
0 commit comments