From c7aca3763321669a0e31dbec708fd26b0938282f Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 24 Aug 2015 20:10:38 +0100 Subject: [PATCH] Do not cd into the buffer directory when running clang --- rc/clang.kak | 1 - 1 file changed, 1 deletion(-) diff --git a/rc/clang.kak b/rc/clang.kak index 19eea14d..bdc44fe9 100644 --- a/rc/clang.kak +++ b/rc/clang.kak @@ -36,7 +36,6 @@ def -shell-params clang-parse -docstring "Parse the contents of the current buff *) ft=c++ ;; esac - cd $(dirname ${kak_buffile}) if [ "$1" == "-complete" ]; then pos=-:${kak_cursor_line}:${kak_cursor_column} header="${kak_cursor_line}.${kak_cursor_column}@${kak_timestamp}"