TOOL

Fish interactive

Shortcuts

ShortcutDescription
Alt+sPrepend sudo to the current or last commandline.
Ctrl+rOpen the history in a pager. Press Shift+Del to delete entries.
Ctrl+uClear from cursor to the start of entry.
Ctrl+kClear from cursor to the end of entry.
Alt+left Alt+rightMove backward/forward through the history.

Abbreviations

Add to the initialization file:

fish
abbr -a dc docker-compose