Skip to content

Commit

Permalink
refactor!: Rename default odo preferences file to `${XDG_CONFIG_HOME:…
Browse files Browse the repository at this point in the history
…-"~/.config"}/odo/settings.yaml`

Previous path was `${XDG_CONFIG_HOME:-"~/.config"}/odo/config.yaml`
  • Loading branch information
rm3l committed Sep 29, 2022
1 parent e898476 commit e5c13c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/exec-env
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugin_dir=$(dirname "$(dirname "$current_script_path")")
source "${plugin_dir}/lib/utils.bash"

if [ "${GLOBALODOCONFIG:-}" = "" ]; then
export GLOBALODOCONFIG="${XDG_CONFIG_HOME:-"${HOME}/.config"}/odo/config.yaml"
export GLOBALODOCONFIG="${XDG_CONFIG_HOME:-"${HOME}/.config"}/odo/settings.yaml"
fi

mkdir -p "$(dirname "${GLOBALODOCONFIG}")"

0 comments on commit e5c13c4

Please sign in to comment.