Skip to content

Commit e1cf2d1

Browse files
committed
github cli completion
1 parent b8153db commit e1cf2d1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

local/etc/uceap.d/devcontainer_on_create.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ function devcontainer_on_create() {
6060

6161
# Setup shell completion
6262
uceap completion bash | sudo sh -c "cat > /etc/bash_completion.d/uceap"
63+
gh completion --shell bash | sudo sh -c "cat > /etc/bash_completion.d/gh"
6364
uceap completion zsh | sudo sh -c "cat > /usr/local/share/zsh/site-functions/_uceap"
65+
gh completion --shell zsh | sudo sh -c "cat > /usr/local/share/zsh/site-functions/_gh"
6466
# Force loading of the completion script because I can't get it to autoload
6567
echo "autoload -Uz _uceap && compdef _uceap uceap" >> ~/.zshrc
6668

0 commit comments

Comments
 (0)