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 HISTFILESIZE=2000
# Autocompletion # Autocompletion
if ! shopt -oq posix; then source /usr/share/bash-completion/bash_completion
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
# Set complete path # Set complete path
export PATH="./bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" 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 "$(rbenv init - bash)"
eval "$(nodenv init -)" eval "$(nodenv init -)"
eval "$(zoxide init bash)" eval "$(zoxide init bash)"
eval "$(zellij setup --generate-auto-start bash)"