I would like to know if there is a way to open the current folder in the atom with the git-bash console (windows 7). So far, I used the instructions . After entering command:
atom .
atom opens the folder:
C:...\\atom\\app-1.24.1
Thank you in advance for your help!
You can either create an alias (I am using Sublime Text as an example)
alias sublime ='/c/Program\ Files/Sublime\ Text\ 3/sublime_text.exe'
cd mydirectory // cd into the dir
sublime . // Open current folder in sublime
For one time
/c/Program\ Files/Sublime\ Text\ 3/sublime_text.exe .
You can reuse the above but using the location of Atom on your machine. Be sure to add the .exe
in the path of the Atom
Note: the \\
is escaping the spaces in the path. If there is a space in the path, it needs to be escaped
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.