Skip to content
simple:zsh

Zsh Shortcuts

Terminal

By EZ4Code Team

Basics

6
ShortcutDescriptionPlatform
TabCompleteall
Ctrl+RReverse search historyall
Ctrl+ABeginning of lineall
Ctrl+EEnd of lineall
Ctrl+WDelete word backwardall
Ctrl+UDelete to beginningall

Globbing

6
ShortcutDescriptionPlatform
*Match anyall
**Recursive matchall
?Match single charall
[abc]Match setall
^patternNegate matchall
(a|b)Match alternativesall

Expansion

6
ShortcutDescriptionPlatform
$VARVariable expansionall
$(command)Command substitutionall
${var:-default}Default valueall
~Home directoryall
{a,b,c}Brace expansionall
$((expr))Arithmetic expansionall

History

6
ShortcutDescriptionPlatform
!!Last commandall
!$Last arg of last commandall
!nCommand by numberall
!stringLast command starting with stringall
Ctrl+PPrevious commandall
Ctrl+NNext commandall

Widgets

5
ShortcutDescriptionPlatform
Alt+.Insert last argall
Ctrl+_Undoall
Esc+QPush lineall
Alt+QPush line (alt)all
Ctrl+X Ctrl+EEdit command in editorall

More Shortcuts