I am using msysgit in Windows 7. How do I invoke notepad++ from Git Bash, like we do it with our default notepad?
Like for example
name@usename notepad textfile.t
I believe git-bash is an actual bash shell, so when it starts, it runs a .bashrc
file from somewhere (most likely your home directory or the directory git-bash starts in). Look for that file, and when you find is, add an alias line somewhere for notepad++:
alias notepad="/c/Program\ Files/Notepad++/notepad++.exe"
Of course use your actual path to Notepad++ there.