A little annoiance after modifying my .bashrc file to add an alias to edit files

gialloporpora gialloporpora@gmail.com
Wed Jun 20 18:20:00 GMT 2012


Hi all,
I have found this good tip:
http://www.mikaelkrok.net/component/content/article/44-java/131-use-cygwin-with-your-best-external-windows-text-editor
to use my Windows text editor to modify files.
I have added this line to my .bashrc file:
     alias edit="cygstart /cygdrive/c/Programmi/Crimson\ Editor/cedt.exe 
"$(cygpath -w "$1")""
I have only an annoiance, not a real problem, only an annoiance:  when I 
start the Cygwin shell and it loads the .bashrc file, it is shown this 
message:
     cygpath: can't convert empty path

Is it possible to hide it without removing the tip?
Thanks
Sandro




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list