[shell-common] Add shellcheck lines for all shell files

This commit is contained in:
2026-01-17 15:21:32 +00:00
parent a4d55ff664
commit c88d401471
11 changed files with 14 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
# shellcheck shell=bash
# History
mkdir -p "${XDG_STATE_HOME}"/bash
export HISTFILE="${XDG_STATE_HOME}"/bash/history

View File

@@ -1,2 +1,3 @@
# shellcheck shell=bash
# SSH completion based on ssh config
[ -e "$HOME/.ssh/config" ] && complete -o "default" -o "nospace" -W "$(grep "^Host" ~/.ssh/config* | grep -v "[?*]" | cut -d " " -f2- | tr ' ' '\n')" scp sftp ssh