Skip to content
bash

EndeavourOS do ship only default .bashrc (bash configuration) but as you may know there are endless.

https://www.gnu.org/software/bash

https://wiki.archlinux.org/title/Bash

Here you will find some basic settings and hints on customizing your bash prompt and behavior of the shell.

Most requested is the history search function added on top of up/down keys showing the history roll of input:

Add these two lines to users .bashrc:

bind '"\e[A":history-search-backward' # history with arrow up key
bind '"\e[B":history-search-forward' # history with arrow down key

With this you can start typing per example sudo and with up and down keys it will show all commands used starting with sudo…

The prompt itself can be configured and as you like in many many ways also for some examples see this online tool per example:

https://wiki.archlinux.org/title/Bash/Prompt_customization

https://ezprompt.net

https://bash-prompt-generator.org

Bash customizations