Tilde expanstion won't work once it is a quoted string, expanding in advance.

pull/2086/head
Ira Abramov 2022-02-11 09:56:10 +02:00
parent 4dbe92e38d
commit 98889b208c
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ function dirs-help() {
# Add bookmarking functionality # Add bookmarking functionality
# Usage: # Usage:
: "${BASH_IT_DIRS_BKS:=${XDG_STATE_HOME:-~/.local/state}/bash_it/dirs}" : "${BASH_IT_DIRS_BKS:=${XDG_STATE_HOME:-${HOME}/.local/state}/bash_it/dirs}"
if [[ -f "${BASH_IT_DIRS_BKS?}" ]]; then if [[ -f "${BASH_IT_DIRS_BKS?}" ]]; then
# shellcheck disable=SC1090 # shellcheck disable=SC1090
source "${BASH_IT_DIRS_BKS?}" source "${BASH_IT_DIRS_BKS?}"