Permalink
Browse files

messed up the last commit

  • Loading branch information...
1 parent 4de9c1c commit 7bd7db8770411d7d22f59b5d1e82a10fc8b2368e Joël Schaerer committed Jul 26, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 autojump.bash
  2. +1 −1 autojump.zsh
View
@@ -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}
View
@@ -14,7 +14,7 @@
#You should have received a copy of the GNU General Public License
#along with autojump. If not, see <http://www.gnu.org/licenses/>.
-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}

0 comments on commit 7bd7db8

Please sign in to comment.