Simplify autocompletion

This commit is contained in:
David Heinemeier Hansson 2024-05-25 20:37:37 -07:00
parent 2de4142298
commit 98b8ef23b2

View File

@ -5,13 +5,7 @@ HISTSIZE=1000
HISTFILESIZE=2000
# Autocompletion
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
source /usr/share/bash-completion/bash_completion
# Set complete path
export PATH="./bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
@ -28,3 +22,4 @@ unset file
eval "$(rbenv init - bash)"
eval "$(nodenv init -)"
eval "$(zoxide init bash)"
eval "$(zellij setup --generate-auto-start bash)"