I'm trying to get Cygwin setup the tools I use in Windows and am having some troubles. From this post, I found I could specify Notepad++ as my editor using
alias notepad="/cygdrive/c/Program\ Files\ \(x86\)/Notepad++/notepad++.exe"
And this works when I run it through the command line
notepad $( cygpath -pw ~/.bashrc ) &
opens my .bashrc file, however when I try and make this an alias
alias settings="notepad $( cygpath -pw ~/.bashrc ) &"
and type settings
I get the get the error
C:\Program Files (x86)\Notepad++\cygwin64homeuser.bashrc doesn't exist. Create it?
I tried defining a variable and had even more issues. What am I doing wrong?