From 1a3471fa7dc5ca2d15632387e11ad1028da50d62 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 7 Feb 2019 09:47:24 +0100 Subject: [PATCH] Revert "edit_command_buffer: Use variable-as-command" This reverts commit 3c6844d4f4b16962a1372e179366fc01d64098f9. See #5625. --- share/functions/edit_command_buffer.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/functions/edit_command_buffer.fish b/share/functions/edit_command_buffer.fish index 423816190..6ea2b0d2c 100644 --- a/share/functions/edit_command_buffer.fish +++ b/share/functions/edit_command_buffer.fish @@ -18,11 +18,11 @@ function edit_command_buffer --description 'Edit the command buffer in an extern commandline -b >$f if set -q VISUAL __fish_disable_bracketed_paste - $VISUAL $f + eval $VISUAL $f __fish_enable_bracketed_paste else if set -q EDITOR __fish_disable_bracketed_paste - $EDITOR $f + eval $EDITOR $f __fish_enable_bracketed_paste else echo