Skip to content

g-udi/gaudi-bash-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

gaudi-bash plugins

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

The plugins 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
  • _completion_exists: check if the completion function passed as the argument exists
  • _binary_exists: check if the binary 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-plugin
about-plugin 'Autojump configuration [ref: https://github.com/wting/autojump]'

Plugins

  • alias-completion: Automatic completion of aliases
  • atuin: Load Atuin! The magical shell history via ble.sh
  • autojump: Autojump configuration
  • aws: AWS helper functions
  • base: Miscellaneous tools
  • blesh: load ble.sh, the Bash line editor!
  • boot2docker: Helpers to get Docker setup correctly for boot2docker
  • cht-sh: Simplify curl cht.sh/<query> to cht.sh <query>
  • brew: Make sure that brew is accessible and exported properly in your shell
  • chruby: Load chruby from /usr/local/share/chruby
  • compress: Compression tools
  • direnv: Load direnv
  • dirs: Directory stack navigation
  • docker-compose: Helper functions for using docker-compose
  • docker: Helpers to more easily work with Docker
  • edit-mode-emacs: Enable emacs editing mode
  • edit-mode-vi: Enable vi editing mode
  • encode: Encoding and decoding functions
  • explain: mankier.com explain function to explain other commands
  • extract: Extractor helper functions for various archive types
  • fzf: Load fzf, a Command-line fuzzy finder written in Go
  • gif: Video to gif, gif to WebM helper functions
  • git-subrepo: Loads Git Submodule Alternative via git-subrepo and initialize completions
  • git: Git helper functions
  • gitstatus: Speeds up your life by using gitstatus for git status calculations
  • go: Go environment variables & path configuration
  • goenv: Load Go version management via goenv
  • gradle: Add a gw command to use gradle wrapper if present, else use system gradle
  • hg: Mercurial helper functions
  • history: history manipulation
  • hub: Load GitHub support to git on the command-line via hub
  • java: Java and JAR helper functions
  • jekyll: Manage your jekyll site
  • jenv: Manage your Java environment via jenv
  • jgitflow: Maven jgitflow build helpers
  • json: Syntax-highlight JSON strings or files
  • jump: Initialize jump. Add export JUMP_OPTS=("--bind=z") to change keybinding
  • latex: Add mactex to the path if its present
  • man: Colorize man pages for better readability
  • nginx: Manage your nginx service
  • node: Node.js helper functions
  • nodenv: Load nodenv | Node.js virtual environment builder
  • nvm: Node version manager configuration
  • osx: OSX specific functions
  • pack: CNB pack cli aliases
  • percol: Search & Select history with percol
  • pipx: Install and Run Python Applications in Isolated Environments
  • postgres: Postgres helper functions
  • powerline: Enables powerline daemon
  • proxy: Proxy Tools
  • pyenv: Python version management via pyenv
  • pygmentize:.plugins.bash pygmentize instead of cat to terminal if possible
  • rails: Helper functions for Ruby on Rails
  • rbenv: Ruby Version Manager via rbenv
  • ruby: Ruby and rubygems specific functions and settings
  • rvm: Ruby Version Manager (RVM)
  • sdkman: Load Software Development Kit Manager
  • server: Create Simple HTTP Server
  • ssh: SSH helper functions
  • sshagent: SSH Agent helper functions
  • subversion: SVN helper functions
  • thefuck: Initialization for fuck
  • tmux: Make sure that tmux is launched in 256 color mode
  • tmuxinator: Sources tmuxinator script if available
  • xterm: Automatically set your xterm title with host and location info
  • zoxide: Zoxide is a smarter cd command for your shell.