mirror of
https://github.com/nikdoof/dotfiles.git
synced 2025-12-26 00:59:23 +00:00
[shell-common] Add shellcheck hints
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
# macOS aliases
|
||||
if [[ $(uname) == "Darwin" ]]; then
|
||||
alias ls="ls -FG"
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# User specific environment
|
||||
|
||||
# XDG Base Directories
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
# Git pulls latest dotfiles
|
||||
function update-dotfiles() {
|
||||
local prevdir="$PWD"
|
||||
|
||||
Reference in New Issue
Block a user