zsh Questions

4

Solved

I just encountered the following error with zsh when trying to use logcat. Namely, when typing: adb logcat *:D I get the following error in zsh zsh: no matches found: *:D I have to escape t...
Transeunt asked 17/11, 2013 at 23:2

1

Solved

I can't believe I can't find a good solution... I have a hidden folder named .venv that I would like to show in my Mac OS Monterey 12.3.1 terminal output. I've tried: defaults write com.apple.finde...
Koontz asked 23/4, 2022 at 22:2

1

On MacOS Big Sur 11.3, here is my .zshrc. I would like to get the latest modified or create files and directories near to the prompt (sorted from the most recent up to the oldest ones). Here my cur...
Hallie asked 19/11, 2021 at 21:45

2

Solved

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
Caren asked 16/3, 2017 at 22:57

20

Solved

When using OSX’s git, after I modify a file I can simply do git commit <tab>, and that’ll auto complete the file’s name to the one that was modified. However, if I install a newer version of ...
Kermit asked 20/2, 2013 at 1:24

2

Solved

I'm trying to bind the command usualy binded to ^W with ctrl+backspace. I have two problem here, one for each parameter of the bindkey command: what is string to mean the ctrl+backspace what is...
zsh
Leek asked 21/1, 2014 at 8:7

6

Solved

I switched from Bash to Zsh on Ubuntu and I'm quite happy about it. However, there is something I really miss and I did not find how to achieve the same thing. In Bash, whenever I was typing a long...
Preferable asked 26/7, 2012 at 13:58

1

Solved

I am trying to uninstall a zsh plugin (macos), I have modified the .zshrc file and removed macos from the plugin list, and deleted the macos file in path ~/.oh-my-zsh/plugins, but now when ever I i...
Ona asked 13/2, 2022 at 7:33

1

I have changed of MacBook Pro and I am trying to set the same configuration than the previous one. Just a detail, in iTerm2 on the zsh shell on the previous Macbook, I got on the left a triangular ...
Sarcomatosis asked 3/4, 2021 at 18:48

3

Solved

I'm quite sure is something dealing with my Oh-my-zsh configuration, but I can't figure out what it is. When I use a "#" symbol in my git command (but on everything else too, like 'ls #2' for inst...
Mattison asked 6/9, 2012 at 15:49

4

Solved

I've already searched about this error, but I couldn't find a solution. I'm following a basic guide to join the Linux world, and I'm trying to create a .txt file, adding some text lines in Vim usi...
Parrot asked 29/10, 2016 at 13:19

1

Symbol shows as such in VSCode terminal when it is supposed to appear like this in the macOS terminal. I have already set the correct terminal font in VSCode.
Leto asked 2/3, 2022 at 3:49

1

Solved

I have a text table that I am displaying using less -S -R. I would like that 3rd and 4th line of the output (the last 2 blue lines) to be a sticky header, so that it would work similar to the head...
Needlecraft asked 25/2, 2022 at 15:22

3

Solved

I have multiple files of .zcompdump*. .rw-r--r-- 47k myuser 13 Jul 10:02 .zcompdump .rw-r--r-- 47k myuser 14 Jul 16:52 .zcompdump-MacBook Pro (2)-5.7.1 .rw-r--r-- 47k myuser 4 Jun 9:32 .zcompdump-M...
zsh
Prepositor asked 16/7, 2020 at 8:57

4

I am using zsh shell and prezto with cygwin. When I type this git command: git reset HEAD5 zsh returns: zsh: no matches found: HEAD^ But when I switch to use bash shell, it works. Why does zsh th...
Asha asked 10/10, 2014 at 4:53

4

Zsh autocomplete is amazing, but I cannot configure one thing properly: I want zsh to offer me a list of commands from history. I know that I can search the history with Ctrl+R, but I want somet...
Intisar asked 28/11, 2012 at 20:20

1

I am trying to run MacOS shortcuts via NodeJS script. To achieve that I created shortcuts in the MacOS Shortcuts app, which normally run in the terminal (ZSH) by typing shortcuts run shortcutname (...
Egret asked 26/1, 2022 at 22:22

3

This seems to be happening randomly, but every once in a while my "atom ." command in order to open a directory in atom won't work. I run into the following terminal error - "zsh: command not fou...
Implicatory asked 11/4, 2019 at 21:59

1

How can I run a program or shell script in Rosetta from Terminal? I don't want to run the whole terminal in Rosetta. Just the parts I need.
Quimper asked 10/2, 2022 at 13:5

1

So I activated this virutal environment: pyenv install 3.7.4 pyenv virtualenv 3.7.4 apps3 pyenv local apps3 pyenv activate apps3 and also set this: pyenv global 3.7.4 I already have these in my ....
Anemoscope asked 2/2, 2022 at 10:29

2

What I want to achieve is using zsh in "output" pane whenever I run a Task in VSCode, but it keep using /bin/sh instead. The "Terminal" pane is using zsh correctly though. Here's my configuration...
Rugging asked 13/2, 2017 at 11:18

7

Solved

Sometimes I use multiline commands in zsh: ❯ echo \ > a \ > multiline \ > command When editing the command after pulling it from a history search, I can change the content of individual...
Holism asked 16/10, 2014 at 16:23

3

Solved

Default shell in my mac was bash. I have tried to change it into ZSH by command chsh -s /bin/zsh. Now when I am trying to check the shell type, I am getting different responses. COMMAND-1 input ...
Interlay asked 14/4, 2017 at 18:29

0

For bash and sh, there is shfmt. How do I format zsh code? I'd like to be able to set some options like in shfmt, ie: -i uint indent: 0 for tabs (default), >0 for number of spaces -bn binary o...
Goggle asked 19/1, 2022 at 6:23

3

Solved

/Users/myname zsh: permission denied: /Users/myname I already gave the terminal full disc access and restarted my mac but it won't let me access this directory.
Sayre asked 24/4, 2020 at 12:18

© 2022 - 2024 — McMap. All rights reserved.