diff --git a/share/functions/edit_command_buffer.fish b/share/functions/edit_command_buffer.fish index b91f2e143..ed36fcf32 100644 --- a/share/functions/edit_command_buffer.fish +++ b/share/functions/edit_command_buffer.fish @@ -97,7 +97,7 @@ function edit_command_buffer --description 'Edit the command buffer in an extern echo (_ "or the file was empty") end if set -q cursor_from_editor[1] - eval set -l pos "$(cat $cursor_from_editor)" + eval set -l pos "$(command cat $cursor_from_editor)" if set -q pos[1] && test $pos[1] = $f set -l line $pos[2] set -l indent (math (string length -- "$raw_lines[$line]") - (string length -- "$unindented_lines[$line]"))