Bash configuration

From wikinotes
Revision as of 10:39, 26 June 2020 by Will (talk | contribs) (→‎vi mode)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Bash is configured in ~/.bashrc. Any environment variables or functions you define here will be available in your interactive shell environment.

vi mode

set -o vi
bind -m vi-command 'Control-l: clear-screen'
bind -m vi-insert 'Control-l: clear-screen'