Skip to content

Commit

Permalink
messed up the last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Joël Schaerer committed Jul 26, 2010
1 parent 4de9c1c commit 7bd7db8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autojump.bash
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion autojump.zsh
Expand Up @@ -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}
Expand Down

0 comments on commit 7bd7db8

Please sign in to comment.