Commit 6f1929f8 authored by Tristan Carel's avatar Tristan Carel
Browse files

Fix indentation

parent 9b29136e
......@@ -27,8 +27,7 @@ if "$ZSH/tools/require_tool.sh" emacs 23 2>/dev/null ; then
# jump to the directory of the current buffer
function ecd {
local cmd="(let ((buf-name (buffer-file-name (window-buffer))))
(if buf-name
(file-name-directory buf-name)))"
(if buf-name (file-name-directory buf-name)))"
local dir=`$EDITOR --eval "$cmd" | tr -d \"`
if [ -n "$dir" ] ;then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment