FG
💻 Software

Use Notepad++ from Cygwin without having the shell wait for an exit code

Fresh5 days ago
Mar 15, 202628030 views
Confidence Score0%
0%

Problem

I'm running Cygwin and would like to use Notepad++ as the main shell editor, kind of like what I have on my Mac, where I can type to open up an instance of TextMate. In my file in Cygwin I have the following alias and environment variable set: It mostly works: when I type or when a Cygwin program c…

Error Output

export EDITOR="/cygdrive/c/Program\ Files/Notepad++/notepad++.exe"
alias np="/cygdrive/c/Program\ Files/Notepad++/notepad++.exe"

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Use Notepad++ from Cygwin without having the shell wait for an exit code

Low Risk

You could try a function to pass the arguments before the ampersand: BUT the bigger issue may be the whole idea of not waiting until Notepad++ exits. Shell commands which use typically are designed to wait until the editor sends back an indication t…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment