Skip to content

g-udi/gaudi-bash-aliases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

gaudi-bash aliases

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

The alises 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-alias
  • Make sure to fill in a description of the alias in the about-alias
# shellcheck shell=bash

cite about-alias
about-alias 'Aliases for the gaudi-bash command (these aliases are automatically included with the "general" aliases)'

Aliases

  • ag: The Silver Searcher (ag) aliases
  • ansible: Ansible abbreviations
  • apt: apt and dpkg aliases for Ubuntu and Debian distros.
  • bundler: Ruby Bundler
  • clipboard: pbcopy and pbpaste shortcuts to linux
  • composer: Common composer abbreviations
  • curl: Curl aliases for convenience.
  • docker-compose: docker-compose abbreviations
  • docker: Docker abbreviations/aliases
  • emacs: Emacs editor
  • fuck: fuck/please to retry last command with sudo
  • gaudi-bash: Aliases for the gaudi-bash command (these aliases are automatically included with the "general" aliases)
  • general: General aliases (files and directory listings ls, ll, etc.), navigation (cd, ..), etc.
  • git: Common git abbreviations
  • gitsvn: Common git-svn abbreviations
  • gls: gls enhanced ls (port from Linux using coreutils)
  • heroku: Heroku task abbreviations
  • hg: Mercurial abbreviations
  • homebrew: Homebrew abbreviations
  • homesick: Homesick aliases
  • kubectl: kubectl aliases
  • ls: ls aliases to add coloring and extra arguments
  • maven: mMven abbreviations
  • node: Node.js environment aliases
  • npm: Common npm abbreviations
  • osx: OSX specific aliases
  • puppet: Puppet aliases
  • rails: Ruby Rails aliases
  • svn: Common svn aliases
  • systemd: systemd service aliases
  • terraform: Aliases for Terraform and Terragrunt
  • textmate: textmate aliases
  • tmux: tmux terminal multiplexer aliases
  • uuidgen: uuidgen aliases
  • vagrant: Vagrant aliases
  • vault: Vault aliases
  • vim: vim abbreviations
  • yarn: Yarn package manager aliases