zsh Questions

3

Solved

I changed from Mac Port to Homebrew I am using zsh, I installed brew git git-extra and bash-completion. i still don't see git auto completion like mac ports used to show it.
Ferrell asked 4/4, 2014 at 4:31

2

Solved

When I opened a git repository today with my current ohmyzsh theme I see a ⍟2 symbol by the version control info. I haven't seen this before and a git status tells me nothing is wrong. Doesn't se...
Observance asked 2/11, 2015 at 15:59

4

I'm working in zsh, but I'm sure that bash instructions will also be helpful. I need to have a for loop that goes through the values stored in the array lw and then launches a shell script, based o...
Receptacle asked 4/6, 2012 at 20:3

2

Solved

on > zsh mac terminal if i type c and get the autocompletion suggestion as clear To accept that suggestion i need to hit right arrow key and then press enter to run it. I want to change the right ...
Pageantry asked 6/2, 2020 at 3:59

6

Solved

I have my terminal set to zsh, and in iTerm2 I can press ctrl+e to move my cursor to the end of the line, and ctrl+a to move to the beginning. In VSCode, this just prints out a literal ^E^A. Is the...
Titustityus asked 26/2, 2018 at 2:6

2

Solved

I tried to upgrade python 2.7 to python 3 and I modified the file ~/.bash_aliases but when I type python in elementary terminal I get this error zsh: command not found: python3 and when I type w...
Timmie asked 19/12, 2014 at 15:45

6

Solved

I'd like to try out the ZSH shell on my Mac, but I also do a lot of Ruby and Rails development, so I use RVM quite a bit too. The problem is that I can't seem to get RVM to work in ZSH, and it's wo...
Plyler asked 21/1, 2011 at 4:58

8

Solved

I had NVM installed already, then I discovered oh-my-zsh and installed that. It seems to have an nvm plugin, which I enabled in .zshrc. Also I put this in my .zprofile export NVM_DIR="/Users/me/...
Bronchi asked 16/3, 2015 at 8:49

11

Solved

I've used bash for two years, and just tried to switch to zsh shell on my OS X via homebrew. And I set my default (login) shell to zsh, and I confirmed it's set properly by seeing that when I launc...
Rask asked 23/4, 2014 at 2:11

2

Solved

I've just migrated to Zsh from Bash, but I have a bit of a problem in it. In bash on an Ubuntu system, when I type the name of a command which does not exist, Bash searches the apt database for a m...
Bream asked 23/7, 2010 at 8:36

6

Solved

This may be a very noob question, but I'm trying to install Homestead on my Mac. I'm following installation steps via http://laravel.com/docs/4.2/homestead however there is a point in the installat...
Mont asked 2/12, 2014 at 21:4

1

I am creating two shell jobs as follows sleep 5 & completion_pid=$! sleep 40 && exit 1 & failure_pid=$! In bash I am able to get the exit code of the first job to finish by using...
Jessee asked 6/9, 2021 at 23:14

2

Solved

I want to permanently store zsh aliases. When I make an alias and shut down ITerm and reopen and it's gone! alias mkcd="function _mkcd(){mkdir "$1"; cd "$1"} _mkcd" mkcd Ken zsh: command not fou...
Subtend asked 8/5, 2019 at 15:36

3

Solved

I am using zsh with oh-my-zsh's rc file and there is some behavior I find particularly annoying. By default, oh-my-zsh is configured to return case-insensitive matches when auto-completing. This be...
Hemimorphite asked 15/6, 2014 at 4:54

0

What I am trying to do I would like to sign my git commits with a gpg key, I have the line export GPG_TTY=$(tty) in my .zshrc file. I am able create a signed commit when I source my .zshrc. Issue I...
Interrogatory asked 26/8, 2021 at 22:34

5

Solved

How to you configure the command prompt in Linux to show current directory? I want to be able to put settings for this in the .zshrc file.
Praetor asked 1/8, 2014 at 23:54

2

I am running under macOS Catalina version 10.15.1 When I run my rails console on my project and try to perform a query like User.first I get : objc[57093]: +[__NSCFConstantString initialize] may ha...
Terpineol asked 17/12, 2019 at 10:14

2

Solved

In zsh, I have a function called g which acts like this: with no arguments, call git status with one or more arguments, delegate to git with all given arguments - i.e. call git $@ I would like ...
Agrarian asked 19/11, 2010 at 1:4

9

Solved

I've installed zsh with homebrew and changed my shell to it. I'm having a problem when trying to run the gulp command, which worked before I changed the shell to zsh. zsh: command not found: gulp ...
Dopey asked 23/4, 2015 at 8:31

12

Solved

To recognize better the start and the end of output on a commandline, I want to change the color of my prompt, so that it is visibly different from the programs output. As I use zsh, can anyone giv...
Sandblind asked 27/3, 2009 at 13:29

3

Solved

I would like to disable Zsh history (arrow up) and zle history search (namely esc+p) completely. How can I achieve this? My current .zshrc: unsetopt hist_append unsetopt hist_expand HISTFILE= HIS...
zsh
Brandenburg asked 20/10, 2016 at 16:44

2

Solved

I use my terminal to run stuff like npm run start while I use the terminal in VSCode for git commands. On my laptop, this worked perfectly, however after setting up zsh on my other device, there's ...
Selfgratification asked 24/5, 2021 at 9:38

2

Solved

Im trying to create git aliases with autocomplete using The Ultimate Git Alias Setup. I did everything in the instructions, but putting the following in my .zshrc file results in an error: if [ -f...
Chanson asked 13/1, 2019 at 12:10

2

Solved

I want to install and run two versions of Homebrew simultaneously on an Apple Silicon Mac: an ARM64 version, and an Intel version running under Rosetta 2. I know I can prepend any brew command with...
Title asked 22/11, 2020 at 5:43

2

Solved

I have a Docker container and need to pass a single string (an array of strings would work too, but as far as I know this is not possible) containing the names of the file present in the current di...
Illstarred asked 18/6, 2021 at 18:48

© 2022 - 2024 — McMap. All rights reserved.