My ~/.bashrc
contains exactly one line:
source my_config/my_actual_bashrc.sh
Is there an equivalent with .inputrc
, so my customizations can be in a separate location, and "called" by ~/.inputrc
?
My ~/.bashrc
contains exactly one line:
source my_config/my_actual_bashrc.sh
Is there an equivalent with .inputrc
, so my customizations can be in a separate location, and "called" by ~/.inputrc
?
According to man readline
:
$include
This directive takes a single filename as an argument and reads commands and bindings from that file. For example, the following directive would read
/etc/inputrc
:
$include /etc/inputrc
Another option is to use a link:
ln -s my_config/my_inputrc .inputrc
That will create the file .inputrc
as a link pointing to my_config/my_inputrc
.