zsh Questions

14

Solved

I just recently switched from bash to zsh, however I miss my Alt+LeftArrowKey and Alt+RightArrowKey to go back and forth a word at a time. Right now, if I press Alt+LeftArrowKey I go back a couple...
Infare asked 12/9, 2012 at 6:41

7

Solved

In zshell how to move forward word, I can set -o vi and use vi format. Is there a way to move forward in zshell by a word
Adenoma asked 6/2, 2010 at 5:41

22

Solved

I have a bunch of projects in my ~/Documents. I work almost exclusively in python, so these are basically all python projects. Each one, e.g. ~/Documents/foo has its own virtualenv, ~/Documents/foo...
Southwick asked 20/7, 2017 at 13:47

4

Solved

I'm switching from bash to zsh. I want to update my new zsh prompt and looked around to find a way, but I have only found "solutions" via oh-my-zsh. The goal: Location: ~/dir_1/dir_1_1/dir_1_1...
zsh
Hedve asked 6/1, 2016 at 0:57

13

Solved

I'm learning to develop in Rails, and have discovered the power of zsh. However, for some of my other tasks, I wish to use normal bash. Although they are the same, I just feel comfortable with the ...
Retinoscopy asked 26/4, 2012 at 20:52

1

Solved

I felt comfortable using bash shell on MacOS. But Catalina replaced it with zsh. Why? Can I switch it back? If so, how? Does it make sense to do so? Any gotchas?
Maze asked 6/9, 2023 at 13:59

2

HISTFILE isn't set in my .zshrc file. To which file is zsh history saved by default? Or, is the history just being stored in memory?
Lexis asked 3/2, 2016 at 23:51

2

I am trying to run basic CLI command, but after npm link getting: zsh: permission denied: testcom File myfile contains: #!/usr/local/bin/ node console.log('Hello!') Running ls -alh: -rw...
Exorbitant asked 4/12, 2019 at 12:46

2

I have already tried the solution at How to disable zsh substitution/autocomplete with URL and backslashes, but this is no longer working. If I paste a URL, it keeps putting backslashes. Very anno...
zsh
Literatim asked 15/6, 2020 at 20:39

4

Solved

While messing around with zsh today and getting something configured properly for ruby, I got the following error. /Users/secallahan/.zshrc:export:54: not valid in this context: /usr/bin:/bin:/usr...
Deplane asked 14/3, 2014 at 1:21

9

Solved

I'm on OSX and want to switch back to my original zsh config from oh-my-zsh, however when I run the uninstall script it gives me an error: $ sudo uninstall oh-my-zsh >> Preparing Uninstall....
Porkpie asked 21/3, 2012 at 22:46

7

I'm trying to run Python 3 on the new M1 chip MacBook. I tried installing python3 both via the official Python website (https://www.python.org/downloads/release/python-391/) and also via brew insta...
Ardell asked 20/2, 2021 at 18:30

7

The title should say it all. I'm looking for an equivalent to ${BASH_SOURCE[0]} in zsh. Note: I keep finding "$0 is equivalent to ${BASH_SOURCE[0]}" around the Internet, but this seems to be false...
Cretan asked 28/3, 2012 at 4:33

3

I am in the middle of customizing my ZSH prompt but am seemingly unable to use escape sequences to tell Konsole to use bold text or a specific RGB color. I know about the built in formatting option...
Folk asked 20/1, 2017 at 23:33

2

Solved

After struggling to get tab completion for git setup on osx, I've gotten some odd errors that I can't find the source too. zsh:12: command not found: ___main _default:compcall:12: can only be cal...
Almshouse asked 19/1, 2015 at 16:1

5

Solved

I use zsh but not equipted with oh-my-zsh, since I cloned many git repos on my machine and oh-my-zsh's default theme or 'josh' theme makes it very slow, for cd and ls commands, etc. Thus I delete ...
Farly asked 25/11, 2019 at 13:36

5

Solved

I cannot get git completion to work on my freshly installed OS X Yosemite in the zsh shell. I've installed both git and zsh using homebrew: brew install zsh git When installing git via homebrew,...
Chlamydospore asked 20/10, 2014 at 9:45

14

Solved

I installed Anaconda via command line. The bash file. If Im in bash, I can open and use anaconda, like notebooks, ipython, etc. If I change my shell to ZSH, all the anaconda commands appear like &q...
Pneumatics asked 2/11, 2016 at 0:1

10

Solved

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.integrated.fontFamily": &quot...
Boz asked 3/7, 2020 at 7:52

42

Solved

When scripting in bash or any other shell in *NIX, while running a command that will take more than a few seconds, a progress bar is needed. For example, copying a big file, opening a big tar file...
One asked 26/10, 2008 at 14:32

3

Solved

I use VSCode on macOS, I ssh into Linux remote station and here I run tmux (inside VSCode integrated terminal). However, I am not able to copy any text from tmux into system clipboard when used lik...
Dwyer asked 1/11, 2022 at 11:24

4

When I use <some commands that output a json> | jq -r '.Credentials | .AccessKeyId, .SecretKey, .SessionToken' I get the following output: ABCDEF 123456 AAAAAABBBBBAAAAAABBBBBAAAAAABBBBBAAAAA...
Nydia asked 4/2, 2022 at 13:7

4

I have a Git alias update that I would like to outfit with branch-name completion. The alias is defined like so: [alias] update = "!f() { git push . origin/$1:$1; }; f" (It updates a local trac...
Postfree asked 12/11, 2018 at 21:25

13

I'd like to remove a specific entry in my Zsh history. Zsh's fc and history don't have any options to delete entries. I've tried looking for the ~/.zhistory but that doesn't exist. How can I go abo...
Coessential asked 31/3, 2014 at 20:52

2

Solved

I have the following function in my .zshrc which, in theory, allows me to write a commit message without needing quotation marks. cm(){ git commit -m "$@" } When I run it (cm foo bar), I get th...
Lelialelith asked 13/5, 2016 at 22:54

© 2022 - 2024 — McMap. All rights reserved.