Skip to content

Commit

Permalink
Fixed typo (#983)
Browse files Browse the repository at this point in the history
  • Loading branch information
gertab committed Sep 25, 2023
1 parent 7eac7cf commit bf60d17
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions apps/elixir_ls_utils/priv/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ preferred_shell=$(basename "$SHELL")
case "${did_relaunch}" in
"")
if [ "$preferred_shell" = "bash" ]; then
>&2 echo "Preffered shell is bash, relaunching"
>&2 echo "Preferred shell is bash, relaunching"
exec "$(which bash)" "$0" relaunch
elif [ "$preferred_shell" = "zsh" ]; then
>&2 echo "Preffered shell is zsh, relaunching"
>&2 echo "Preferred shell is zsh, relaunching"
exec "$(which zsh)" "$0" relaunch
else
>&2 echo "Preffered shell $preferred_shell is not supported, continuing in POSIX shell"
>&2 echo "Preferred shell $preferred_shell is not supported, continuing in POSIX shell"
fi
;;
*)
Expand Down
6 changes: 3 additions & 3 deletions scripts/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ dirname=$(dirname "$0")
case "${did_relaunch}" in
"")
if [ "$preferred_shell" = "bash" ]; then
>&2 echo "Preffered shell is bash, relaunching"
>&2 echo "Preferred shell is bash, relaunching"
exec "$(which bash)" "$0" relaunch
elif [ "$preferred_shell" = "zsh" ]; then
>&2 echo "Preffered shell is zsh, relaunching"
>&2 echo "Preferred shell is zsh, relaunching"
exec "$(which zsh)" "$0" relaunch
elif [ "$preferred_shell" = "fish" ]; then
>&2 echo "Preferred shell is fish, launching launch.fish"
exec "$(which fish)" "$dirname/launch.fish"
else
>&2 echo "Preffered shell $preferred_shell is not supported, continuing in POSIX shell"
>&2 echo "Preferred shell $preferred_shell is not supported, continuing in POSIX shell"
fi
;;
*)
Expand Down

0 comments on commit bf60d17

Please sign in to comment.