dotfiles/config/fish/functions/_fzf_report_file_type.fish
2022-10-05 10:10:20 -04:00

7 lines
261 B
Fish

# helper function for _fzf_preview_file
function _fzf_report_file_type --argument-names file_path file_type --description "Explain the file type for a file."
set_color red
echo "Cannot preview '$file_path': it is a $file_type."
set_color normal
end