From e7aebe69bf98c333c38c4beac39bb3f303271c34 Mon Sep 17 00:00:00 2001 From: William Ting Date: Wed, 19 Jul 2017 23:14:50 -0700 Subject: [PATCH] (Running pre-commit) Remove trailing whitespace. --- bin/autojump.fish | 2 +- bin/autojump.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/autojump.fish b/bin/autojump.fish index b9af80c..e995506 100644 --- a/bin/autojump.fish +++ b/bin/autojump.fish @@ -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" diff --git a/bin/autojump.lua b/bin/autojump.lua index 0d212f4..320ed74 100644 --- a/bin/autojump.lua +++ b/bin/autojump.lua @@ -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 @@ -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()