Cygwin
After a long time with unix based environment I had to move into windows. So bad .. Windows command prompt is so poor. But fortunately cygwin rescued me.
Vim editor on cygwin.
First time it didn't work correctly. but after copying /usr/share/vim/vim62/vimrc_example.vim to ~/.vimrc it worked fine.
Integrate with windows folders
Create .reg file with following content.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\bash]
@="Open Bash Shell Here"
[HKEY_CLASSES_ROOT\Directory\shell\bash\command]
@="c:\\cygwin\\bin\\bash.exe --login -i -c 'cd \"`cygpath \"$*\"`\";bash' bash %L"
[HKEY_CLASSES_ROOT\Drive\shell\bash]
@="Open Bash Shell Here"
[HKEY_CLASSES_ROOT\Drive\shell\bash\command]
@="c:\\cygwin\\bin\\bash.exe --login -i -c 'cd \"`cygpath \"$*\"`\";bash' bash %L"
If you prefer for mintty change according as below.
C:\cygwin\bin\mintty.exe --exec /bin/bash --login -c "cd '%1%'; exec /bin/bash -rcfile ~/.bashrc"
Vim editor on cygwin.
First time it didn't work correctly. but after copying /usr/share/vim/vim62/vimrc_example.vim to ~/.vimrc it worked fine.
Integrate with windows folders
Create .reg file with following content.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\bash]
@="Open Bash Shell Here"
[HKEY_CLASSES_ROOT\Directory\shell\bash\command]
@="c:\\cygwin\\bin\\bash.exe --login -i -c 'cd \"`cygpath \"$*\"`\";bash' bash %L"
[HKEY_CLASSES_ROOT\Drive\shell\bash]
@="Open Bash Shell Here"
[HKEY_CLASSES_ROOT\Drive\shell\bash\command]
@="c:\\cygwin\\bin\\bash.exe --login -i -c 'cd \"`cygpath \"$*\"`\";bash' bash %L"
If you prefer for mintty change according as below.
C:\cygwin\bin\mintty.exe --exec /bin/bash --login -c "cd '%1%'; exec /bin/bash -rcfile ~/.bashrc"


0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home