Skip to content

Commit 379813b

Browse files
authored
Merge pull request #2086 from seefood/ira/fix-dirs
Tilde expanstion won't work once it is a quoted string, expanding in advance
2 parents 9d6fe72 + 16bf32b commit 379813b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/available/dirs.plugin.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function dirs-help() {
5959
# Add bookmarking functionality
6060
# Usage:
6161

62-
: "${BASH_IT_DIRS_BKS:=${XDG_STATE_HOME:-~/.local/state}/bash_it/dirs}"
62+
: "${BASH_IT_DIRS_BKS:=${XDG_STATE_HOME:-${HOME}/.local/state}/bash_it/dirs}"
6363
if [[ -f "${BASH_IT_DIRS_BKS?}" ]]; then
6464
# shellcheck disable=SC1090
6565
source "${BASH_IT_DIRS_BKS?}"

0 commit comments

Comments
 (0)