Skip to content

Commit

Permalink
adds milxc autocompletion in the vagrant image
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois Lesueur committed Feb 9, 2020
1 parent 1ab8c9b commit 671b219
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions vagrant/files/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,15 @@ echo "ALWAYS_SET_PATH yes" >> /etc/login.defs

# enable bash autocompletion
cp milxc-completion.bash /etc/bash_completion.d/
echo -e "
# enable bash completion in interactive shells
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" >> /etc/bash.bashrc


reboot

0 comments on commit 671b219

Please sign in to comment.