shell - Crontab not recognizing editor -


i made script run on specific time each day. however, when trying edit crontab running crontab -e, following output:

crontab: no crontab rpoddighe - using empty 1 crontab: /usr/local/bin/mvim -v -f: no such file or directory crontab: "/usr/local/bin/mvim -v -f" exited status 1 

running echo $editor outputs following, no surprise there:

/usr/local/bin/mvim -v -f 

furthermore, editor works fine. have idea might going on? please let me know if need clarify or add more details.

edit: using zsh shell, in case of relevance.

it turned out there discrepancy between system vim , 1 installed homebrew, , aliasing vim -> mvim -v -f not correct solution. after correctly symlinking vim macvim works expected.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -