Compare commits

...

3 Commits

Author SHA1 Message Date
0fbde15f3e [macos] Add shellcheck 2025-12-24 10:28:00 +00:00
60a620ef3d [bash] Add shellcheck hints 2025-12-24 10:27:51 +00:00
06c1038d3c [shell-common] Add shellcheck hints 2025-12-24 10:27:41 +00:00
8 changed files with 11 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
# shellcheck shell=bash
# ~/.bash_logout

View File

@@ -1,3 +1,4 @@
# shellcheck shell=bash
# Get the aliases and functions
if [ -f $HOME/.bashrc ]; then
source $HOME/.bashrc

View File

@@ -1,3 +1,4 @@
# shellcheck shell=bash
# .bashrc
# Source global definitions

View File

@@ -27,6 +27,7 @@ brew "packer"
brew "poetry"
brew "python@3.14"
brew "sass/sass/sass"
brew "shellcheck"
brew "smartmontools"
brew "terraform-docs"
brew "terraform-local"

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"