Commit Graph
4 Commits
Author SHA1 Message Date
xavier 1a7a850efa fix: Simplify create-links.bash path resolution
Replace the ~30-line get_script_dir() copy (duplicated a third time
from bashrc/bash_profile) with a one-liner. This script is always
executed directly, never sourced from another file, so BASH_SOURCE[0]
reliably points to itself — the extra logic in get_script_dir() for
the sourced-from-elsewhere case doesn't apply here.
2026-08-22 02:16:49 +02:00
xavier e40045aa99 feat: Improve way to determine and set the path containing the bash config
Before this:
The bash config repo needed to be cloned in ~/.bash/ to work properly

After this:
The bash config repo can be move anywhere (for exemple in
~/.config/bash).
The create-links.bash helper is adapted to this new behaviour.
So you can clone anywhere and call create-links.bash from anywhere. Then
the symbolic links in your home should be good and the config would load
correctly.
2026-07-13 12:44:45 +02:00
xavier 288b8fa122 Add inputrc 2014-08-29 15:17:59 +02:00
xavier 9fad99b12f Add bash configuration files 2013-04-24 16:58:31 +02:00