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.
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...
4
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...
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...
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/...
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...
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...
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...
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...
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...
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...
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.
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...
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...
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...
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...
© 2022 - 2024 — McMap. All rights reserved.