ZSH

ZSH


#

zsh is more compatible with (sh) and mostly compatible with

Plugins fc #

fzf #

https://github.com/junegunn/fzf#installation

sudo apt install fzf

https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/fzf

good tutorial

ZSH CS #

  1. CTRL + R -> command history
  2. CTRL + T -> search files in current directory
  3. ALT+C -> change directory
  4. kill -9 <TAB> you can select process to send kill command to
  5. Ctrl + D -> exit

After export FZF_COMPLETION_TRIGGER=’**' #

context aware fuzzy completions

  1. cd ** <TAB>
  2. sh ** <TAB>
  3. export ** <TAB>
  • Search syntax

    ‘wild: Exact match, return items that include wild. ^music: Prefix-exact-match, return items that start with music. .mp3\(: Suffix-exact-match, return items that end with .mp3. !fire: Inverse-exact-match, return items that do not include fire. !^music: Inverse-prefix-exact-match, return items that do not start with music. !.mp3\): Inverse-suffix-exact-match, return items that do not end with .mp3.


Previous Next