mirror of
https://github.com/wting/autojump
synced 2025-06-13 12:54:07 +00:00
Merge ee1be0310b
into e62e720765
This commit is contained in:
commit
db18b05739
@ -1,5 +1,5 @@
|
||||
# determine the data directory according to the XDG Base Directory Specification
|
||||
if [[ -n ${XDG_DATA_HOME} ]] && [[ ${XDG_DATA_HOME} =~ ${USER} ]]; then
|
||||
if [[ -n ${XDG_DATA_HOME} ]] && [[ ${XDG_DATA_HOME} -pcre-match ${USER} ]]; then
|
||||
export AUTOJUMP_DATA_DIR="${XDG_DATA_HOME}/autojump"
|
||||
else
|
||||
export AUTOJUMP_DATA_DIR=${HOME}/.local/share/autojump
|
||||
|
Loading…
Reference in New Issue
Block a user