Bash configuration: Difference between revisions

From wikinotes
(No difference)

Revision as of 10:39, 26 June 2020

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'