fnm icon indicating copy to clipboard operation
fnm copied to clipboard

Initialize fnm only in interactive Fish sessions

Open bio opened this issue 1 year ago • 3 comments

Prevents unnecessary fnm initialization in non-interactive sessions by adding a status check before executing the fnm environment setup.

This ensures fnm is not initialized when selecting commands from Fish history, improving performance by avoiding redundant executions. Additionally, it prevents fnm notifications from being inserted into the command line during history selection as Fish executes config snippets in non-interactive mode in that context.

bio avatar Feb 09 '25 03:02 bio

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fnm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 9, 2025 3:14am

vercel[bot] avatar Feb 09 '25 03:02 vercel[bot]