From 7bd7db8770411d7d22f59b5d1e82a10fc8b2368e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Schaerer?= Date: Mon, 26 Jul 2010 16:31:45 +0200 Subject: [PATCH] messed up the last commit --- autojump.bash | 2 +- autojump.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autojump.bash b/autojump.bash index 88ded03..decfb61 100644 --- a/autojump.bash +++ b/autojump.bash @@ -25,7 +25,7 @@ _autojump() done < <(autojump --bash --completion $cur) } complete -F _autojump j -data_dir=${XDG_DATA_DIR:-$([ -e ~/.config ] && echo ~/.config || echo ~)} +data_dir=${XDG_DATA_HOME:-$([ -e ~/.local/share ] && echo ~/.local/share || echo ~)} if [ "$data_dir" = "~" ] then export AUTOJUMP_DATA_DIR=${data_dir} diff --git a/autojump.zsh b/autojump.zsh index 59b6c07..5fef87e 100755 --- a/autojump.zsh +++ b/autojump.zsh @@ -14,7 +14,7 @@ #You should have received a copy of the GNU General Public License #along with autojump. If not, see . -data_dir=${XDG_DATA_DIR:-$([ -e ~/.config ] && echo ~/.config || echo ~)} +data_dir=${XDG_DATA_HOME:-$([ -e ~/.local/share ] && echo ~/.local/share || echo ~)} if [ "$data_dir" = "~" ] then export AUTOJUMP_DATA_DIR=${data_dir}