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
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
/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
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
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:
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
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
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
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: $ 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
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
I am using hyper terminal. I wrote the following code to change the theme, but it gave the following error. Command to change theme: hyper i verminal zsh: comm
I just found about zsh suffix aliases that allow one to associate a program with an extension in the shell: alias -s {md,txt}=nano Is there a way to do somethi
I'm beginning to learn the shell commands. And I don't know how to remove the percent character in the end. Example: printf poo shows poo% I'm on mac and I us
If you look at the VS Code terminal - its too tiny. Here're the user settings that I have modified to create this result. I have searched how to change termina
We all know arrays in Bash are indexed from zero, and in zsh are indexed from one. How can the script know it should use 0 or 1 if I can't ensure the running en
We all know arrays in Bash are indexed from zero, and in zsh are indexed from one. How can the script know it should use 0 or 1 if I can't ensure the running en
I am using oh-my-zsh for my terminal. I have set IntelliJ to use /bin/zsh as the shell path. However no environment variable in my .zshrc file ever seems to ge
I get the following error messages when I open my terminal, Hyper: [oh-my-zsh] Insecure completion-dependent directories detected: drwxrwxr-x 7 dwaynethe2nd
I'm trying to alias _! to sudo the last command, but I'm running into roadblocks. !! doesn't seem to work in my .zshrc file, and sed has given me repeated probl