Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Commit 92348dd

Browse files
committed
Added Enable Tab Completion Command
1 parent d0d999f commit 92348dd

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
cd "${WPLIB_BOX_COMMANDS_DIR}"
4+
5+
complete -f -X '!*' box
6+
7+
echo_if_not_quiet "$*" "=Tab Completion enabled for 'box' command."

provision.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ else
3636
sudo chmod +x /vagrant/scripts/guest/cli/box
3737
sudo ln -s /vagrant/scripts/guest/cli/box /usr/local/bin/box
3838

39+
#
40+
# Enable Tab Completion
41+
#˚
42+
echo "Enabling Tab Completion for 'box' command..."
43+
box enable-tab-completion --quiet
44+
3945
#
4046
# Disassociate the cloned Git repo and initialize a new repo.
4147
#

0 commit comments

Comments
 (0)