No video

The Zsh Shell Tricks I Wish I'd Known Earlier: Boost Terminal Productivity

  Рет қаралды 2,563

Cloud-Native Corner

Cloud-Native Corner

Күн бұрын

Пікірлер: 26
@priceld5
@priceld5 26 күн бұрын
Great video! I appreciate that your videos go a little bit further and deeper than most "getting started" videos.
@cloud-native-corner
@cloud-native-corner 26 күн бұрын
Thank you! That's my goal, to help people learn something new and get excited about digital technology and capabilities it brings.
@ebouchut
@ebouchut Ай бұрын
I learned some useful tricks from your video. Thank you.
@cloud-native-corner
@cloud-native-corner Ай бұрын
Thank you, I'm really glad to hear that! Is there anything else in zsh you would like to learn more about?
@ebouchut
@ebouchut 29 күн бұрын
@@cloud-native-corner The most useful `setopt ` and how to use shell process substitution: `diff -u .zshrc
@farzadmf
@farzadmf Ай бұрын
Very useful video, thank you!
@cloud-native-corner
@cloud-native-corner Ай бұрын
Glad you enjoyed it!
@sachajw
@sachajw Ай бұрын
Excellent video! I learn't a lot!
@cloud-native-corner
@cloud-native-corner Ай бұрын
Thank you! Is there any specific topic you are interested in learning more about?
@cloud-native-corner
@cloud-native-corner Ай бұрын
What are your favorite zsh tricks?
@aftamohd
@aftamohd Ай бұрын
Is that nvim? How are you using the slides … I see that it’s tmux but how r u changing the slides and ….
@cloud-native-corner
@cloud-native-corner Ай бұрын
Yes, I'm using tmux for pane split and opening various files in nvim. For slides, I'm using github.com/maaslalani/slides. Rest are a few custom scripts, you can check the source code for most of my videos in this repo: github.com/Piotr1215/shorts
@cprn.
@cprn. Ай бұрын
1st of all... `bindkey -v` 😆
@cloud-native-corner
@cloud-native-corner Ай бұрын
I've tried it a few times, but there were some issues with history navigation and Ctrl+n/p remaps. Sometimes I have the urge to try it again :)
@cprn.
@cprn. Ай бұрын
@@cloud-native-corner Oh, I actually have these two rebound to incremental search. Will paste it in when I'm at the desk (few hours).
@cloud-native-corner
@cloud-native-corner Ай бұрын
@@cprn. Thanks! I went into this rabbit hole again and in my notes found this repo: github.com/softmoth/zsh-vim-mode. It works for me and adds surround bindings and text objects.
@cprn.
@cprn. Ай бұрын
@@cloud-native-corner Yeah, I know it, but honestly how often do you need surround when editing a command line... It just doesn't happen for me. I only use these 3 lines to get VIM-like line editing: ``` bindkey -v bindkey "^P" history-beginning-search-backward bindkey "^N" history-beginning-search-forward ```
@cloud-native-corner
@cloud-native-corner Ай бұрын
Thank you for sharing. I actually often forget to quote https links, so now viW S' or ysiW' and viola. :)
@tuannguyenvanquoc2670
@tuannguyenvanquoc2670 Ай бұрын
how can we remember all of them, so complicated
@cloud-native-corner
@cloud-native-corner Ай бұрын
One easy way I used to do it is to have a simple alias `help` which would cat/bat a markdown file with the shortcuts content. You can also use a something like `cheat` which also enables you to create your own cheatsheets files (github.com/cheat/cheat). If you use tmux you can display the content in a hoover pane and bind to a shortcut.
@ChrisCox-wv7oo
@ChrisCox-wv7oo Ай бұрын
Make a short list of what you think is most interesting, refer back to that list throughout the week as you find opportunities to use features. Rinse and repeat.
@Pongo8844
@Pongo8844 Ай бұрын
Best way is to use it regularly
@wojciech-kulik
@wojciech-kulik Ай бұрын
Really good tricks! Btw. zsh is not a default shell on macOS :D (0:41)
@cloud-native-corner
@cloud-native-corner 29 күн бұрын
I think they made it default since catalina: support.apple.com/en-us/102360
@wojciech-kulik
@wojciech-kulik 29 күн бұрын
@@cloud-native-corner wow! That's suprising. I didn't know about it.
Bash vs ZSH vs Fish: What's the Difference?
13:32
Eric Murphy
Рет қаралды 175 М.
How Linux Kernel Prints Text on Screen
12:46
Nir Lichtman
Рет қаралды 65 М.
Unveiling my winning secret to defeating Maxim!😎| Free Fire Official
00:14
Garena Free Fire Global
Рет қаралды 8 МЛН
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 147 МЛН
123 GO! Houseによる偽の舌ドッキリ 😂👅
00:20
123 GO! HOUSE Japanese
Рет қаралды 6 МЛН
The Clever Way to Count Tanks - Numberphile
16:45
Numberphile
Рет қаралды 1 МЛН
Andrew Kelley   Practical Data Oriented Design (DoD)
46:40
ChimiChanga
Рет қаралды 84 М.
7 Essential Command Line Tools (2022)
9:12
Tech Craft
Рет қаралды 208 М.
I forced EVERYONE to use Linux
22:59
NetworkChuck
Рет қаралды 437 М.
Compilers, How They Work, And Writing Them From Scratch
23:53
Adam McDaniel
Рет қаралды 156 М.
The World Depends on 60-Year-Old Code No One Knows Anymore
9:30
Coding with Dee
Рет қаралды 751 М.
Become a bash scripting pro - full course
36:00
CODE IS EVERYTHING
Рет қаралды 52 М.
I'm ditching Alacritty. Here's why
6:44
typecraft
Рет қаралды 70 М.
zoxide has forever improved the way I navigate in the terminal.
9:53
Dreams of Autonomy
Рет қаралды 451 М.
5 Command Line Tools That Boost Developer Productivity (2023)
8:02
Unveiling my winning secret to defeating Maxim!😎| Free Fire Official
00:14
Garena Free Fire Global
Рет қаралды 8 МЛН