Normalisation et nettoyage #4
@@ -79,8 +79,10 @@ _source_dir_files "${BASH_CONFIG_DIR}"/aliases
|
|||||||
_source_dir_files "${BASH_CONFIG_DIR}"/aliases.d
|
_source_dir_files "${BASH_CONFIG_DIR}"/aliases.d
|
||||||
|
|
||||||
# Source bash completion definitions
|
# Source bash completion definitions
|
||||||
# TODO: Améliorer cette partie pour éviter les erreurs quand aucun fichier n'existe
|
# System-wide bash completion (bash-completion package) is expected to
|
||||||
for file in /etc/bash*completion /etc/profile.d/bash*completion*; do source "${file}"; done
|
# already be wired by the distro itself, typically via
|
||||||
|
# /etc/profile.d/bash_completion.sh for login shells and the package's
|
||||||
|
# own non-login hook — no need to re-source it manually here.
|
||||||
|
|
||||||
_source_file_if_exists ~/.bash_completion
|
_source_file_if_exists ~/.bash_completion
|
||||||
_source_file_if_exists "${BASH_CONFIG_DIR}"/completion
|
_source_file_if_exists "${BASH_CONFIG_DIR}"/completion
|
||||||
|
|||||||
Reference in New Issue
Block a user