Fix bash autocompletion
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
6270596a5d
commit
474a3d4f30
4 changed files with 11 additions and 7 deletions
|
@ -33,8 +33,8 @@ if [ -f "/usr/share/git/completion/git-prompt.sh" ]; then
|
|||
fi
|
||||
|
||||
# Enable autocompletion features
|
||||
if [ -f "/etc/bash_completion" ]; then
|
||||
/etc/bash_completion
|
||||
if [ -f "/usr/share/bash-completion/bash_completion" ]; then
|
||||
. /usr/share/bash-completion/bash_completion
|
||||
fi
|
||||
complete -cf sudo
|
||||
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
# ./upgrade.sh
|
||||
. utils.sh
|
||||
|
||||
print_header "Update packages"
|
||||
print_header "Upgrading system"
|
||||
print_section "Update arch packages"
|
||||
aurman -Syu --rebuild
|
||||
|
||||
print_section "Update npm packages"
|
||||
npm update -g
|
Loading…
Add table
Add a link
Reference in a new issue