Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

У пользователей:

В файле /etc/bash.bashrc после строки:

/etc/bash.bashrc
# enable bash completion in interactive shells

Раскомменитровать строки:

/etc/bash.bashrc
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


Сохранить и перезапустить сессию пользователя.

У root'а:

Вписать в /root/.basch.bashrc строки:

/root/.bash.bashrc
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
  • No labels