Comments (6)
I see, kinda dug into the code, adding single quotes around them doesn't even help at all, pretty surprising.
Anyway, thanks for looking into this.
from nvm.
nvm doesn't run any pager at all. however, i see you've aliased grep
to egrep --color=auto'
, and rm
to rm --interactive=never
, and mkdir
to nocorrect mkdir
- so i suspect that perhaps there's some shell aliases you've set up that are causing issues.
from nvm.
I thought nocorrect mkdir
is a thing that zsh
aliases to automatically? I've also checked my config files and grep most ~/.zshrc
returns nothing…
from nvm.
Maybe oh-my-zsh? zsh doesn't alias anything automatically.
The lines that are erroring about most
are in the nvm_wrap_with_color_code
function - so i suspect it's related to colorized output somehow.
Are you using global zsh aliases perhaps? Those are hugely problematic and might not be something nvm can work around.
from nvm.
I guess it's an issue with OMZ:
/home/mado/.oh-my-zsh/plugins/common-aliases/common-aliases.plugin.zsh
7:alias la='ls -lAFh' #long list,show almost all,show type,human readable
30:alias -g M="| most"
this is the output from rg most ~/.oh-my-zsh
(truncated)
and in the file:
25 │ # Command line head / tail shortcuts
26 │ alias -g H='| head'
27 │ alias -g T='| tail'
28 │ alias -g G='| grep'
29 │ alias -g L="| less"
30 │ alias -g M="| most"
31 │ alias -g LL="2>&1 | less"
32 │ alias -g CA="2>&1 | cat -A"
33 │ alias -g NE="2> /dev/null"
34 │ alias -g NUL="> /dev/null 2>&1"
35 │ alias -g P="2>&1| pygmentize -l pytb"
that seems to be the issue (maybe something using M
)
from nvm.
yup, that's exactly the issue. all of those global zsh aliases are impossible to avoid.
I'd suggest disabling omz entirely anyways, zsh folks tend to discourage it.
from nvm.
Related Issues (20)
- NVM problem with corepack and yarn HOT 1
- Curl Error HOT 9
- Error, parse error near `do' when trying to install MacOS HOT 2
- Error when using fetch/axios/node-fetch HOT 1
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash timing Out HOT 3
- [spam]
- `lts/` aliases change with new releases rather than finding the highest local match HOT 3
- Failed to checkout the given version $NVM_VERSION HOT 1
- Allow comments in .nvmrc config file HOT 5
- macOS when install 14 curl: (22) The requested URL returned error: 404 HOT 1
- macOS curl: (22) The requested URL returned error: 404 HOT 1
- nvm installation HOT 1
- Only the latest release of node installed is used despite specifying an earlier version with `nvm use`, when a new terminal tab or session is started. HOT 4
- nvm screws with path leading to warnings on shell startup HOT 12
- Trivy Security scan error HOT 1
- [spam]
- [spam] HOT 1
- [spam] HOT 4
- Trivy Security scan error - Need proof HOT 2
- Feature Request: User-provided hash HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvm.