zsh Questions

1

Solved

I have this piece of code in my .zshrc: autoload -U colors && colors function change_color() { if [[ "$?" = 0 ]]; then return "green" else return "red" f...
Button asked 14/1, 2022 at 1:35

1

Suppose you have this directory tree: $ tree /tmp/test /tmp/test ├── dir_a │   ├── dir a\012file with CR │   ├── dir a file with spaces │   └── sub a directory │   └── with a file in it ├── dir_b │...
Hutch asked 6/1, 2022 at 21:16

6

Solved

I work with some log system which creates a log file every hour, like follows: SoftwareLog.2010-08-01-08 SoftwareLog.2010-08-01-09 SoftwareLog.2010-08-01-10 I'm trying to tail to follow the late...
Watercolor asked 5/8, 2010 at 15:42

3

Solved

After installing Homebrew and Homebrew-Cask on my Mac (as administrator with user-id 'admin', running MacOS 10.12.6), I get the error message zsh compinit: insecure directories, run compaudit for...
Remy asked 6/3, 2019 at 10:6

4

Solved

This is weird, I have set JAVA_HOME for my mac which can be found when I am using bash shell, but if I change shell, I get a message saying JAVA_HOME not set. What could be going on here?
Constantine asked 29/5, 2015 at 19:51

5

Solved

I used Homebrew to install Z shell (zsh) 5.0.7 on my Mac. For the life of me, .zshrc is nowhere to be found. It is not in ~. Is is not in /etc or /etc/zshrc as they suggest here: http://zshwiki.org...
Yelp asked 3/11, 2014 at 21:12

23

Solved

I am using the z Shell (zsh) instead of the default bash, and something wrong happen so that all commands that used to work are no longer recognized: ls zsh: command not found: ls open -e...
Pola asked 25/8, 2013 at 11:12

6

If I have files "something1" and "something2" in a folder, how do I make ZSH's tab completion fill in only the common characters? For example, I would type: som<Tab> and I want it to fill ...
zsh
Disk asked 4/8, 2010 at 21:23

3

Solved

I am not sure what I've set on my iTerm-zsh last night. But after I open iTerm (zsh) or Terminal on my Mac or I try to use zsh, it will always show the following: /Users/Simon/google-cloud-sdk/p...
Custard asked 1/5, 2015 at 18:31

1

Solved

I was having a strange problem with PATH environment variable in MacOS that I spent several hours to debug: Some time ago, when I was trying to fix the issue IntelliJ terminal PATH variable not t...
Mate asked 1/8, 2018 at 14:49

4

Solved

I have two machines where git bash auto complete is agonizingly slow. When I hit tab, it can take 8 to 10 seconds for the filename to be completed. This only seems to happen when the auto complete ...
Vincentia asked 12/11, 2013 at 17:35

2

My colleague created a branch. I am trying to checkout to the branch. git checkout hisName/branchNameWithAHash#Inside The terminal returns zsh: no matches found: hisName/branchNameWithAHash#Inside...
Prefigure asked 30/8, 2021 at 7:15

28

Solved

What does it mean and how can I fix it? zsh compinit: insecure directories, run compaudit for list. Ignore insecure directories and continue [y] or abort compinit [n]? Running the compaudi...
Roborant asked 7/12, 2012 at 11:34

6

Solved

Newer Macs (Catalina OS in my case) now have the default Z Shell aka zsh. Using a Mac zsh terminal window, I've successfully installed Angular 11.0.5 globally and created a project. I'm using nvm 0...
Chabazite asked 3/1, 2021 at 0:24

6

Solved

I am currently using Zsh + Prezto for my scripting shell configuration. I have been using the sorin theme but am a little dissatisfied with it. I'd like to switch to the paradox theme! It is suppo...
Challis asked 20/10, 2015 at 14:3

5

Solved

I'm having a lot of trouble getting zsh to shorten my prompt. I'm currently using zsh with the agnoster theme and oh-my-zsh package manager. My prompt currently gets annoyingly long during work, u...
Noonan asked 17/5, 2016 at 22:4

8

Solved

I'm running zsh as the default shell on a Ubuntu box, and everything works fine using gnome-terminal (which as far as I know emulates xterm). When I login from a windows box via ssh and putty (whic...
Trever asked 2/10, 2008 at 10:30

3

Solved

Hi I'm trying to use a power line theme for zsh and although I've installed the Powerline-symbols.otf and various fonts from the https://github.com/Lokaltog/powerline-fonts repo, I cannot get the P...
Vanward asked 12/9, 2014 at 21:13

2

Solved

I want to see which files got sourced while starting the Z-shell. Does it even keep track and if yes is there a way to list all the files?
Apiarian asked 28/6, 2017 at 10:4

4

Solved

I am trying to figure out why my oh-my-zsh themes don't work properly. The colors show up properly, but background stays white (with black text). below is my /.zshrc file and current path var...
Ezekielezell asked 27/12, 2012 at 14:10

4

I recently switched from bash to zshell but my history does not seem to be working. when I press the up arrow I don't get the previous commands. Is the shortcut different? Also how do I enable shar...
zsh
Mythicize asked 5/9, 2012 at 12:50

2

Solved

I want to use the fzf fuzzyfinder command history instead of the typical command history when I press the up arrow. In my fzf shell keybindings file I'm able to edit which key brings up the fuzzy ...
Sell asked 5/9, 2019 at 19:33

3

Solved

I usually have many long-running zsh processes (in spread out over various screen sessions) on my computer, but shells that haven't been used for a while tend to be swapped out. When I switch to su...
Apposite asked 3/8, 2013 at 6:18

4

I've started setting up ZSH for VSCode. It worked for a small bit, but then it changed to Git Bash (my previous default shell). I tried changing the shell back to ZSH, but it didn't display in the ...
Liquorice asked 22/9, 2020 at 0:53

10

So I'm looking into learning node.js. I've been following this tutorial to install it and try some stuff out. At any rate, npm is behaving really strangely. It'll work just fine for a while (I ch...
Pongee asked 3/4, 2013 at 2:3

© 2022 - 2024 — McMap. All rights reserved.