Skip to content

Commit 919e21e

Browse files
committed
tutorial/0-completion: load /etc/profile in order to ensure bash completion is loaded
1 parent 660e57d commit 919e21e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tutorial/0-completion

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ tutorial_directory=${BASH_SOURCE[0]%/*}
66
# just enable programmable completion for other tutorial scripts and
77
# invoke an interactive shell
88
read -N 4096 bashrc <<EOF
9+
. /etc/profile
910
shopt -s progcomp sourcepath
1011
PATH="$PATH:$tutorial_directory"
1112
. "$tutorial_directory/../argsparse-completion.sh"

0 commit comments

Comments
 (0)