Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Posts tagged zsh

This tag doesn't have any usage information yet.

This tag doesn't have a detailed wiki yet.

50%
+0 −0
Q&A How to list the first x files in each directory

MWE With the following tree: l1 └── l2 ├── d0 │   ├── f0 │   ├── f1 │   ├── f2 │   ├── f3 │   ├── f4 │   └── f5 ├── d1 │   ├── f0 │   ├── f1 ...

1 answer  ·  posted 1d ago by young_souvlaki‭  ·  edited 17h ago by young_souvlaki‭

Question zsh
71%
+3 −0
Q&A Treat underscores as word boundaries in terminal using vim mode

Question How do you specify underscores as Vim word boundaries when using vim mode in either bash or zsh? MWE w on this_word should place the cursor on the underscore. A second w should place th...

1 answer  ·  posted 8mo ago by young_souvlaki‭  ·  last activity 1mo ago by r~~‭

Question zsh
77%
+5 −0
Q&A Copy to clipboard from terminal with Vim bindings

Question How do I copy to clipboard from terminal with yy, assuming it's configured to use Vim bindings? I am using zsh with bindkey -v. MWE Enter something on the commandline (without pressi...

2 answers  ·  posted 7mo ago by young_souvlaki‭  ·  last activity 2mo ago by Mithical‭

Question zsh
60%
+1 −0
Q&A Vim key bindings not working in terminal python interpreter

Minimum Working Example To reproduce: Add bindkey -v to your ~/.zshrc. Invoke python interpreter: python. Type something into the prompt without hitting ENTER: this = "this" + "that". Press ...

1 answer  ·  posted 8mo ago by young_souvlaki‭  ·  edited 2mo ago by AdminBee‭

Question zsh
80%
+6 −0
Q&A How to get number of files in directory

How do you find out the number of files in a directory from the command line?

4 answers  ·  posted 1y ago by young_souvlaki‭  ·  last activity 4mo ago by AdminBee‭

Question zsh
60%
+1 −0
Q&A Simplest way to change cursor to indicate vim mode

Question What is the simplest way to change the cursor to indicate vim mode when using zsh? Notes I want it to show as a vertical line in insert mode and a block in normal mode. This is the cur...

1 answer  ·  posted 8mo ago by young_souvlaki‭  ·  last activity 6mo ago by GoldenGold‭

Question zsh
60%
+1 −0
Q&A Running `bashcompinit` in zsh to enable use of bash completion specifications gives "command not found"

I'd like to use the answers in this post while using zsh: compgen -c # will list all the commands you could run. compgen -a # will list all the aliases you could run. compgen -b # will list a...

0 answers  ·  posted 1y ago by young_souvlaki‭  ·  edited 1y ago by Canina‭

Question zsh
66%
+2 −0
Q&A How to make vi-mode bindings in terminal copy to clipboard

If I want to yank my last command I can UP yy, but this does not copy to the system clipboard. How do I configure my terminal to copy to the system clipboard so I can paste into other programs? ...

1 answer  ·  posted 1y ago by young_souvlaki‭  ·  last activity 1y ago by deleted user

Question zsh
80%
+6 −0
Q&A A shell script that can run under different shells

I have a shell script with a syntax compatible to both bash and zsh, except for a section that has zsh specific syntax that throws syntax errors if sourced from bash. Is there an easy way to escap...

2 answers  ·  posted 2y ago by 4015.alt‭  ·  last activity 1y ago by mjy‭

Question zsh