Skip to content

Commit

Permalink
Favor $HOME over ~
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmc3 committed Sep 22, 2023
1 parent 16e88d9 commit 9bc6a59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion functions/antidote-install
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
local bundlefile=$2
if [[ -z "$bundlefile" ]]; then
zstyle -s ':antidote:bundle' file 'bundlefile' ||
bundlefile=${ZDOTDIR:-~}/.zsh_plugins.txt
bundlefile=${ZDOTDIR:-$HOME}/.zsh_plugins.txt
fi

local bundledir=$(__antidote_bundle_dir $bundle)
Expand Down
2 changes: 1 addition & 1 deletion functions/antidote-purge
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

local bundlefile
zstyle -s ':antidote:bundle' file 'bundlefile' ||
bundlefile=${ZDOTDIR:-~}/.zsh_plugins.txt
bundlefile=${ZDOTDIR:-$HOME}/.zsh_plugins.txt

if (( $#o_all )); then
# last chance to save the user from themselves
Expand Down

0 comments on commit 9bc6a59

Please sign in to comment.