mirror of
https://github.com/nikdoof/dotfiles.git
synced 2026-01-31 11:28:14 +00:00
[shell-common] Add shellcheck hints
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
# shellcheck shell=bash
|
||||||
|
|
||||||
# macOS aliases
|
# macOS aliases
|
||||||
if [[ $(uname) == "Darwin" ]]; then
|
if [[ $(uname) == "Darwin" ]]; then
|
||||||
alias ls="ls -FG"
|
alias ls="ls -FG"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
# shellcheck shell=bash
|
||||||
|
|
||||||
# Get the list of AWS profiles
|
# Get the list of AWS profiles
|
||||||
function awsprofiles() {
|
function awsprofiles() {
|
||||||
profiles=$(aws --no-cli-pager configure list-profiles 2> /dev/null)
|
profiles=$(aws --no-cli-pager configure list-profiles 2> /dev/null)
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
# shellcheck shell=bash
|
||||||
# User specific environment
|
# User specific environment
|
||||||
|
|
||||||
# XDG Base Directories
|
# XDG Base Directories
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
# shellcheck shell=bash
|
||||||
|
|
||||||
# Git pulls latest dotfiles
|
# Git pulls latest dotfiles
|
||||||
function update-dotfiles() {
|
function update-dotfiles() {
|
||||||
local prevdir="$PWD"
|
local prevdir="$PWD"
|
||||||
|
|||||||
Reference in New Issue
Block a user