Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion share/functions/__fish_edit_command_if_at_cursor.fish
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function __fish_edit_command_if_at_cursor --description 'If cursor is at the com
or return 1
set -l command_path (command -v -- $command)
or return 1
test -w $command_path
test -r $command_path
or return 1
string match -q 'text/*' (file --brief --mime-type -L -- $command_path)
or return 1
Expand Down
Loading