Skip to content

Commit a25e163

Browse files
committed
Install tab completion for Bash
- Consider compiling the file so we don't have to do this eval.
1 parent 9a5d117 commit a25e163

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

bashhub/shell/bashhub.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ __bh_setup_bashhub() {
2828

2929
# Hook bashhub into preexec and precmd.
3030
__bh_hook_bashhub
31+
32+
# Install our tab completion
33+
eval "$(_BASHHUB_COMPLETE=source bashhub)"
3134
fi
3235
}
3336

0 commit comments

Comments
 (0)