Skip to content

Commit

Permalink
A ~ is not expanded inside double quotes (#721)
Browse files Browse the repository at this point in the history
Use $HOME instead.
  • Loading branch information
slam authored Aug 27, 2022
1 parent fe11910 commit e318963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/elixir_ls_utils/priv/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fi
# give them the chance here. ELS_MODE will be set for
# the really complex stuff. Use an XDG compliant path.

els_setup="${XDG_CONFIG_HOME:-~/.config}/elixir_ls/setup.sh"
els_setup="${XDG_CONFIG_HOME:-$HOME/.config}/elixir_ls/setup.sh"
if test -f "${els_setup}"
then
. "${els_setup}"
Expand Down

0 comments on commit e318963

Please sign in to comment.