Skip to content

Commit

Permalink
(Running pre-commit) Remove trailing whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
wting committed Jul 20, 2017
1 parent 9ff654d commit e7aebe6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/autojump.fish
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function j
case '*'
set -l output (autojump $argv)
# Check for . and attempt a regular cd
if [ $output = "." ]
if [ $output = "." ]
cd $argv
else
if test -d "$output"
Expand Down
4 changes: 2 additions & 2 deletions bin/autojump.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ local AUTOJUMP_DIR = debug.getinfo(1, "S").source:match[[^@?(.*[\/])[^\/]-$]] ..
local AUTOJUMP_BIN_DIR = AUTOJUMP_DIR .. "\\bin"
local AUTOJUMP_BIN = (AUTOJUMP_BIN_DIR or clink.get_env("LOCALAPPDATA") .. "\\autojump\\bin") .. "\\autojump"

function autojump_add_to_database()
function autojump_add_to_database()
os.execute("python " .. "\"" .. AUTOJUMP_BIN .. "\"" .. " --add " .. "\"" .. clink.get_cwd() .. "\"" .. " 2> " .. clink.get_env("TEMP") .. "\\autojump_error.txt")
end

Expand All @@ -12,7 +12,7 @@ function autojump_completion(word)
for line in io.popen("python " .. "\"" .. AUTOJUMP_BIN .. "\"" .. " --complete " .. word):lines() do
clink.add_match(line)
end
return {}
return {}
end

local autojump_parser = clink.arg.new_parser()
Expand Down

0 comments on commit e7aebe6

Please sign in to comment.