Skip to content

Commit

Permalink
remove obsolete docker completion pieces
Browse files Browse the repository at this point in the history
Docker offers built in CLI hints that work out of the box (on a fresh install)
  • Loading branch information
Okeanos committed Aug 20, 2024
1 parent 1debdb1 commit 3d00181
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions stow/shell/dot-config/bash_completion
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
#!/usr/bin/env bash
# the shebang statement above is only here to allow linting this file

# Add tab completion for Docker and Docker Compose
if [[ -d "/Applications/Docker.app/Contents/Resources/etc/" ]]; then
if [[ -f "/Applications/Docker.app/Contents/Resources/etc/docker.bash-completion" ]]; then
source "/Applications/Docker.app/Contents/Resources/etc/docker.bash-completion"
fi
if [[ -f "/Applications/Docker.app/Contents/Resources/etc/docker-compose.bash-completion" ]]; then
source "/Applications/Docker.app/Contents/Resources/etc/docker-compose.bash-completion"
fi
fi

# Enable tab completion for `g` by marking it as an alias for `git`
if type __git_complete &>/dev/null; then
__git_complete g __git_main
Expand Down

0 comments on commit 3d00181

Please sign in to comment.