Skip to content

g-udi/gaudi-bash-completions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

gaudi-bash completions

This repo contains a submodule for gaudi-bash with all the plugins it loads.

The completions can make use of the helper functions of gaudi-bash:

  • _is_function: check if the passed parameter is a function
  • _command_exists: check if the command passed as the argument exists
  • _binary_exists: check if the binary passed as the argument exists
  • _completion_exists: check if the completion function passed as the argument exists
  • _read_input: reads input from the prompt for a yes/no (one character) input
  • _array-contains: searches an array for an exact match against the term passed as the first argument to the function. The function exits as soon as a match is found
  • _array-dedupe: creates a concatenated array of unique and sorted elements
  • _clean-string: cleans a string from whitespace given a passed cleaning mode

Checklist

  • Make sure to have # shellcheck shell=bash at the top of every file and have an empty newline after
  • Make sure to have the cite about-plugin
  • Make sure to fill in a description of the alias in the about-plugin
# shellcheck shell=bash

cite about-completion
about-completion 'Automatic completion of aliases'

Completions

  • asdf: asdf completions | The multiple runtime version manager
  • awscli: AWS CLI completions
  • brew: Brew completions
  • bundler: Bash completion for the bundle command
  • capistrano: Bash completion support for Capistrano
  • cargo: Cargo (Rust package manager) completion
  • composer: Composer completion
  • conda: Enable Conda completions
  • consul: Consul bash completions
  • defaults: Bash command line completion for defaults
  • dirs: Bash completion support for the 'dirs' plugin (commands G, R).
  • docker-compose: Dokcer compose bash completions
  • docker-machine: Docker machine bash completions
  • docker: Docker bash completions
  • export: Export bash completions
  • fabric: Fabric bash completions
  • flutter: Flutter bash completions
  • gaudi-bash: Gaudi bash completions
  • gcloud: Google Cloud bash completions
  • gem: Gem bash completions
  • git: Git bash completions
  • git_flow: Gitflow bash completions
  • github-cli: GitHub CLI completion
  • go: Go bash completions
  • gradle: Gradle bash completions
  • grunt: Grunt bash completions
  • gulp: Gulp bash completions
  • helm: Helm (Kubernetes Package Manager) completions
  • homesick: Homesick bash completions
  • hub: Hub bash completions. This script complements the completion script that ships with git
  • kubectl: Kubectl (Kubernetes CLI) completion
  • lerna: Lerna bash completions
  • makefile: Makefile bash completions
  • maven: Maven bash completions
  • minikube: Minikube (Local Kubernetes) completion
  • ngrok: Ngrok bash completions
  • npm: NPM (Node Package Manager) completion
  • nvm: NVM (Node Version Manager) bash completions
  • openshift: Openshift bash completions
  • packer: Packer bash completions
  • pip: Python pip package manager bash completions
  • pm2: PM2 bash completions
  • rabbitmq: RabbitMQ bash completions
  • rake: Bash completion support for Rake, Ruby Make
  • rustup: Rustup (Rust toolchain installer) completion
  • rvm: Bash completion support for RVM
  • sdkman: Sdkman bash completions
  • sqlmap: SQL Map bash completions
  • ssh: Bash completion support for SSH
  • svn: SVN bash completions
  • system: Loads the systems Bash completion modules
  • terraform: Terraform bash completions
  • tmux: Tmux bash completions
  • travis: Travis bash completions
  • vagrant: Vagrant bash completions
  • vault: Vault bash completion
  • virsh: Bash completion for virsh - main CLI of libvirt borrowed from https://github.com/LuyaoHuang/virsh-bash-completion
  • virtualbox: Virtualbox completions
  • vuejs: Vue.js completions
  • yarn: YARN CLI completions