bashrc: Add Bash completion on Linux

This commit is contained in:
Andrea Rogers 2025-03-04 13:12:20 -06:00
commit 390cae1aee
No known key found for this signature in database
GPG key ID: A10C546B7B2DFD68

View file

@ -28,6 +28,9 @@ command -v uname >/dev/null &&
Linux)
alias ls='ls --color'
[ -z "$ID" ] && [ -f /etc/os-release ] && . /etc/os-release
[ -r /usr/share/bash-completion/bash_completion ] \
&& . /usr/share/bash-completion/bash_completion
;;
Darwin)
command -v port >/dev/null && . /opt/local/etc/bashrc.mac