[shell-common] Add shellcheck hints

This commit is contained in:
2025-12-24 10:27:41 +00:00
parent f3f26438cb
commit 06c1038d3c
4 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
# shellcheck shell=bash
# macOS aliases
if [[ $(uname) == "Darwin" ]]; then
alias ls="ls -FG"

View File

@@ -1,3 +1,5 @@
# shellcheck shell=bash
# Get the list of AWS profiles
function awsprofiles() {
profiles=$(aws --no-cli-pager configure list-profiles 2> /dev/null)

View File

@@ -1,3 +1,4 @@
# shellcheck shell=bash
# User specific environment
# XDG Base Directories

View File

@@ -1,3 +1,5 @@
# shellcheck shell=bash
# Git pulls latest dotfiles
function update-dotfiles() {
local prevdir="$PWD"