From ee531d18cda4946f652c0ab7604a733fad1abfdf Mon Sep 17 00:00:00 2001 From: bretello Date: Mon, 25 Sep 2023 12:39:24 +0200 Subject: [PATCH] functions: remove debug statements in vimscratch --- functions/vim.zsh | 2 -- 1 file changed, 2 deletions(-) diff --git a/functions/vim.zsh b/functions/vim.zsh index 4726f96..34a30c7 100644 --- a/functions/vim.zsh +++ b/functions/vim.zsh @@ -1,6 +1,5 @@ # open vim with a scratch window that can be discarded on exit. vimscratch() { - set -x local args # if running in a pipe, use stdin (-) as arg. # -t checks if the given FD is a terminal @@ -8,5 +7,4 @@ vimscratch() { stdin_arg="-" fi vim -c "set buftype=nofile" $@ $stdin_arg - set +x }