diff --git a/bin/autojump b/bin/autojump index e087cc8..0ad7ab9 100755 --- a/bin/autojump +++ b/bin/autojump @@ -172,7 +172,7 @@ def find_matches(entries, needles, check_entries=True): # using closure to prevent constantly hitting hdd def is_cwd(entry): - return entry.path == pwd + return os.path.realpath(entry.path) == pwd if check_entries: path_exists = lambda entry: os.path.exists(entry.path)