Category "zsh"

zsh using a variable in a command within a function

In .zsh, in my .zshrc file I'd like to set up a function to cd to a directory I input, but using an existing variable to write the common ~/path/to/parent/direc

zsh: command not found on MacOS Monterey

I wanted to create a react project and when I executed the command it said zsh: command not found: npx Then I tried the ls command and it said zsh: command not

How to set terminal tabs titles in zsh, to vim filenames

I am using a oh-my-zsh shell in an Apple terminal (2.11) in full screen, and by default the name of the tabs is the name of the program being run (eg. vim). Is

How to set terminal tabs titles in zsh, to vim filenames

I am using a oh-my-zsh shell in an Apple terminal (2.11) in full screen, and by default the name of the tabs is the name of the program being run (eg. vim). Is

Zsh: Command Not found : mongo After trying to install mongodb 4.2 using brew

I have tried the following steps to install and setup mongodb in my mac from here https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/ but I got th

I installed yarn globally, but got error "zsh:command not found : yarn"

npm install -g yarn > [email protected] preinstall /Users/myname/.npm-global/lib/node_modules/yarn > :; (node ./preinstall.js > /dev/null 2>&1 || tr

Delete env variable on mac

enter image description hereI need help, I don't arrive to delete env variable with unset. I want to delete conda env variable: I use unset: I look to env var

Font issues while integrating ZSH on Visual Studio Code

I'm trying to integrate zsh on my VSC setup but apparently arrows are not recognized by it. My zsh theme is agnoster and I've already tried adding "terminal.i

Align around a given character in bash

Is there an easy way to align multiple rows of text about a single character, similar to this question, but in bash. Also open to zsh solutions. What I have: aa

ffmpeg - how to handle video and audio URL's streams separately?

I am trying to create a zsh function that uses youtube-dl and ffmpeg to download a portion of a YouTube video. I did achieve this goal with the following functi

Trying to display different colors through bash script

I'm new to scripting and have decided to learn with this homework that I gave myself. The goal of this script is simply: display available colors in color pick

How do I reset and put the zshrc file back to default?

/Users/ello/.zshrc:source:3: no such file or directory: /Users/ello/Projects/config/env.sh Ello-MacBook-Pro% /Users/ello/.zshrc:source zsh: no such file or dir

Git tab completion stopped working on remote branches

I've updated git to its latest version (2.29.0) and I'm using ZSH 5.8. I used to switch between branches with git checkout remote_br<tab> to quickly switc

nest Command not found

I followed the documentation to create my first NestJS project. Installing the Nest CLI with the command npm i -g @nestjs/cli was successful. The output was:

zsh compadd - how to specify argument's description?

With _arguments I can do _arguments {-h,--help}'[Show help]', but how to specify 'Show help' message in compadd parameters? Cannot find that in documentation

How to use zsh vcs_info with double quoted prompt?

this is my .zshrc file . vcs_info working for single quoted prompt but it's not working for double quoted prompt. autoload -Uz vcs_info zstyle ':vcs_info:*' ena

Can't commit to github remote via ssh after installing zsh

I had SSH key paired with my Win10 machine and Github account, and it's was working on Bash, but today I installed ZSH (oh-my-zsh) via WSL, and now when I'm try

Sort list of files in different directories with zsh

Assume I have the following directory/file structure dirA/1fileAA.zsh dirA/99fileAB.zsh dirB/2fileBA.zsh dirB/50fileBB.zsh dirB/subdirA/20fileBAA.zsh which I w

"zsh: command not found: $" // can't install anything on terminal

zsh: command not found: $ Every time I try to install anything or run anything on my terminal I get this message. I am using a MacBook air m1, macOS Monterey. D

Permission Error When Exporting to $JAVA_HOME on MacOS Big Sur

Whenever I try to set my Java Home export JAVA_HOME=$(/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home) in my .zshenv or .zshrc files, I ge