Hello,
I have the following code:
vifm --remote +':if filetype('.') == 'dir' | echo 'Directory' | else | echo 'File' | endif'
Unfortunately, it's not working. What am I doing wrong?
Output messages:
Invalid expression: filetype(.) == dir
Invalid expression: Directory
Misplaced :else
Invalid expression: File
:endif without :if