1
0
mirror of https://github.com/wting/autojump synced 2024-09-28 22:10:45 +00:00
Commit Graph

17 Commits

Author SHA1 Message Date
William Ting
e7aebe69bf (Running pre-commit) Remove trailing whitespace. 2017-07-19 23:14:50 -07:00
Harald Wartig
9a26c1f17b Set AUTOJUMP env variables using set -gx.
Due to changes in the way fish handles variable lookup the fish
autojump integration stopped working with fish version 2.3.

By exporting the needed variables globally it works also with fish 2.3.
2016-09-07 06:56:16 +02:00
Scott Olson
d188d7e675 Fix typo (__aj_error -> __aj_err). 2015-07-06 23:12:35 -04:00
David Frascone
55f4eacc8a If autojump can't find the directory, attempt a cd 2015-06-09 14:42:44 -06:00
David Frascone
f09d23e30d Fixed some bugs in fish script
OSTYPE was not being set correctly.  It is in bash, not sh.
    Since the value is unlikely to change, I read it once and
    stored it globally
Test logic was backward in jo function, causing error to always
    be printed, unless you did NOT specify a directory name.
2015-06-09 14:32:38 -06:00
benvb
491b4fd27b Quote $XDG_DATA_HOME when setting error file
I'm not sure if this is actually a bug in fish, but (test -d) with no argument returns true, and nonexistent environment variables return an empty string, so (test -d $XDG_DATA_HOME) returns true when $XDG_DATA_HOME isn't set.

Prior to making this change, I would get an error from dirname when opening a shell and an error from fish when cd'ing.
2015-01-07 16:47:33 -05:00
Erdi Aker
d71a354abb Fixes joelthelion/autojump#335 2014-12-14 23:23:53 +02:00
Erdi Aker
ec7f788276 Fixes joelthelion/autojump#333 2014-12-14 21:30:22 +02:00
William Ting
f75d01299d Correctly identify OSTYPE for some Linux distros. 2014-11-05 07:53:03 -08:00
William Ting
819c5c76cc Makes sure that autojump is sourced before running.
Fixes #255.
2014-10-21 18:29:45 -07:00
William Ting
531a7321d3 Add fish error logging.
Fixes #247.
2014-10-21 17:55:53 -07:00
William Ting
b80c630ef8 Merge branch 'fix_wrappers'
Conflicts:
	bin/autojump
	bin/autojump_data.py
	bin/autojump_utils.py
	tests/autojump_utils_test.py
2014-01-08 11:11:39 -06:00
William Ting
4716493681 append error log if stuff breaks 2014-01-07 22:13:01 -06:00
William Ting
77eddd3c0b fix minor fish shell commands 2013-12-31 11:07:28 -06:00
William Ting
b0957e50eb Add paths in background, sync comments between shell wrappers
Closes #230.
2013-12-31 09:49:20 -06:00
Alexander Bolodurin
e72369c1a9 Use correct export syntax. 2013-05-25 22:28:06 +10:00
Alexander Bolodurin
701e454dd6 Add Fish support. 2013-05-18 21:58:41 +10:00