Activity for mcp
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #286844 |
Post edited: Fix zsh docs link |
— | over 2 years ago |
Edit | Post #286844 | Initial revision | — | over 2 years ago |
Question | — |
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: > ```sh > compgen -c # will list all the commands you could run. > compgen -a # will list all the aliases you could run. > compgen -b # will list all the built-ins you could run. > compgen -k # will list all the keywords you could run.... (more) |
— | over 2 years ago |
Comment | Post #286772 |
Thank you! Marked! (more) |
— | over 2 years ago |
Comment | Post #286725 |
Wow, I was hoping for a simple variable to toggle or change in my `.zshrc`. Not very satisfied with that solution. (more) |
— | over 2 years ago |
Comment | Post #286772 |
Wow this is amazing insight I had never considered, thank you. Do you mind adding the first statement to the answer so I can mark it? (more) |
— | over 2 years ago |
Comment | Post #286778 |
If you found an answer in `man less` please document it here. (more) |
— | over 2 years ago |
Edit | Post #286778 |
Post edited: Add emacs |
— | over 2 years ago |
Edit | Post #286778 | Initial revision | — | over 2 years ago |
Question | — |
How to edit file from less MWE ```sh touch d less d jump to editing d without leaving less ``` Question Is there a way to edit a file from viewing it in `less`? Jumping straight into Vim would be preferred, but an answer for emacs as well would be thorough. (more) |
— | over 2 years ago |
Comment | Post #286772 |
I like `ls -A | wc -l`, but I'm not sure why it works. `ls -A` outputs
multiple files on each line, yet `wc -l` catches them all. I would think
you'd need `ls -A -1 | wc -l`. (more) |
— | over 2 years ago |
Edit | Post #286769 | Initial revision | — | over 2 years ago |
Question | — |
How to get number of files in directory How do you find out the number of files in a directory from the command line? (more) |
— | over 2 years ago |
Comment | Post #286758 |
Sounds very promising, but not working for me (X, st terminal, zsh). Even so, I'd like to map this behavior to the default `yy`. (more) |
— | over 2 years ago |
Edit | Post #286725 | Initial revision | — | over 2 years ago |
Question | — |
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? I am using zsh, but an answer for bash and zsh would be thorough and appreciated. (more) |
— | over 2 years ago |
- ← Previous
- 1
- 2
- 3
- Next →