N
N
Nikolai Gromov2015-08-25 13:35:54
Cygwin
Nikolai Gromov, 2015-08-25 13:35:54

Windows 10, cygwin - how to add atom command?

Использую cmder для запуска консолей
Поставил cygwin, не понимаю как с ним использовать команду atom . или подобные
В других консолях работает, с cygwin — нет. Выдает сообщение:
/cygdrive/c/Users/nicot/AppData/Local/atom/bin/../app-1.0.7/resources/cli/atom.sh: line 2: $'\r': команда не найдена
/cygdrive/c/Users/nicot/AppData/Local/atom/bin/../app-1.0.7/resources/cli/atom.sh: line 4: syntax error near unexpected token `$'in\r''
'cygdrive/c/Users/nicot/AppData/Local/atom/bin/../app-1.0.7/resources/cli/atom.sh: line 4: ` case "$opt" in

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolai Gromov, 2015-08-25
@nicothin

he got out of the situation by creating an alias:

alias atom='/cygdrive/c/Users/nicot/AppData/Local/atom/Update.exe --processStart atom.exe' $*

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question