ZSH is amazing. I’m unfortunately mostly stuck on Windows, and I didn’t find any similar alternative for win shell, but ever since I tried the ZSH configuration that’s default in Kali Linux, I’ve been hooked on ZSH.
Comment on What helps people get comfortable on the command line?
axzxc1236@lemmy.world 1 year ago
I am using ZSH, that function that allows you to type part of the command and then do UP key to find previous command starts with same prefix is killer function for me.
(I don’t know if this function is added by oh-my-zsh or not.)
Mikina@programming.dev 1 year ago
Sigmatics@lemmy.ca 1 year ago
TIL. I wish I knew all the features of ZSH. Just the git shortcuts are amazing
learnbyexample@programming.dev 1 year ago
You can do it in Bash as well. Put this in
.inputrc
:"\e[A":history-substring-search-backward "\e[B":history-substring-search-forward # or, if you want to search only from the start of the command "\e[A": history-search-backward "\e[B": history-search-forward
philluminati@programming.dev 1 year ago
Bash has Ctrl+R which is a similar feature.
cd_slash_rmrf@programming.dev 1 year ago
zsh has ctrl-r as well; this feature is specifically for beginning-of-match and some find it a bit more ergonomic.