Skip to content

Commit

Permalink
aliases: add shellcheck headers
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelicWizard committed Jan 19, 2022
1 parent be2a2ed commit 16a2e27
Show file tree
Hide file tree
Showing 39 changed files with 39 additions and 57 deletions.
2 changes: 1 addition & 1 deletion aliases/available/ag.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'the silver searcher (ag) aliases'

## Summary for args to less:
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/ansible.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'ansible abbreviations'

alias ans=ansible
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/atom.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'Atom.io editor abbreviations'

alias a='atom'
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/bash-it.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite about-alias
# shellcheck shell=bash
about-alias 'Aliases for the bash-it command (these aliases are automatically included with the "general" aliases)'

# Common misspellings of bash-it
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/bolt.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'puppet bolt aliases'

# Aliases
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/bundler.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'ruby bundler'

# Bundler Commands
Expand Down
1 change: 0 additions & 1 deletion aliases/available/clipboard.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# shellcheck shell=bash
cite 'about-alias'
about-alias 'xclip shortcuts'

alias pbcopy="xclip -selection clipboard"
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/composer.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'common composer abbreviations'

# Aliases
Expand Down
4 changes: 1 addition & 3 deletions aliases/available/curl.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/bin/bash

cite 'about-alias'
# shellcheck shell=bash
about-alias 'Curl aliases for convenience.'

# set apt aliases
Expand Down
1 change: 0 additions & 1 deletion aliases/available/dnf.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# shellcheck shell=bash
cite 'about-alias'
about-alias 'dnf aliases for fedora 22+ distros'

alias dnfl="dnf list" # List packages
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/docker-compose.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'docker-compose abbreviations'

alias dco="docker-compose"
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/emacs.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'emacs editor'

case $OSTYPE in
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/fuck.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'fuck/please to retry last command with sudo'

# Play nicely with 'thefuck' plugin
Expand Down
1 change: 0 additions & 1 deletion aliases/available/git.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# shellcheck shell=bash
cite 'about-alias'
about-alias 'common git abbreviations'

alias g='git'
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/gitsvn.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'common git-svn abbreviations'

# Aliases
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/heroku.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'heroku task abbreviations'

# heroku
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/hg.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'mercurial abbreviations'

alias hs='hg status'
Expand Down
6 changes: 2 additions & 4 deletions aliases/available/homebrew-cask.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Some aliases for Homebrew Cask

cite 'about-alias'
about-alias 'homebrew-cask abbreviations'
# shellcheck shell=bash
about-alias 'Some aliases for Homebrew Cask'

alias bcin='brew cask install'
alias bcrm='brew cask uninstall'
Expand Down
6 changes: 2 additions & 4 deletions aliases/available/homebrew.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Some aliases for Homebrew

cite 'about-alias'
about-alias 'homebrew abbreviations'
# shellcheck shell=bash
about-alias 'Some aliases for Homebrew'

alias bup='brew update && brew upgrade'
alias bout='brew outdated'
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/jitsu.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'jitsu task abbreviations'

# jitsu
Expand Down
6 changes: 1 addition & 5 deletions aliases/available/kubectl.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
#!/bin/bash
#
# -binaryanomaly

cite 'about-alias'
# shellcheck shell=bash
about-alias 'kubectl aliases'

function _set_pkg_aliases() {
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/maven.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'maven abbreviations'

alias mci='mvn clean install'
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/node.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'the Node.js environment aliases'

# alias to setup nodejs development environment
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/npm.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'common npm abbreviations'

# Aliases
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/phoenix.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'phoenix abbreviations'

# Phoenix Commands
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/puppet.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'puppet aliases'

# Aliases
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/pyrocms.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'pyrocms abbreviations'

###
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/rails.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'rails abbreviations'

# Rails Commands
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/svn.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'common svn abbreviations'

# Aliases
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/systemd.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'systemd service'

case $OSTYPE in
Expand Down
6 changes: 2 additions & 4 deletions aliases/available/terraform.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Aliases for Terraform and Terragrunt

cite 'about-alias'
about-alias 'Terraform abbreviations'
# shellcheck shell=bash
about-alias 'Aliases for Terraform and Terragrunt'

alias tf='terraform'
alias tfv='terraform validate'
Expand Down
6 changes: 2 additions & 4 deletions aliases/available/terragrunt.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Aliases for Terraform and Terragrunt

cite 'about-alias'
about-alias 'Terragrunt abbreviations'
# shellcheck shell=bash
about-alias 'Aliases for Terraform and Terragrunt'

alias tg='terragrunt'
alias tgv='terragrunt validate'
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/textmate.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'textmate abbreviations'

case $OSTYPE in
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/tmux.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'Tmux terminal multiplexer'

alias txl='tmux ls'
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/uuidgen.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'uuid-alias'
# shellcheck shell=bash
about-alias 'uuidgen aliases'

if _command_exists uuid; then # Linux
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/vagrant.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'vagrant aliases'

# Aliases
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/vault.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'vault aliases'

# Aliases
Expand Down
1 change: 0 additions & 1 deletion aliases/available/vim.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# shellcheck shell=bash
cite 'about-alias'
about-alias 'vim abbreviations'

_command_exists vim || return
Expand Down
2 changes: 1 addition & 1 deletion aliases/available/yarn.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cite 'about-alias'
# shellcheck shell=bash
about-alias 'yarn package manager aliases'

# Aliases
Expand Down

0 comments on commit 16a2e27

Please sign in to comment.