Added vim modelines to the as many file as I could
This commit is contained in:
parent
9a6dab3467
commit
d3cb216f2d
|
@ -115,3 +115,4 @@ scriptTempDir={{ $scriptTempDir | quote }}
|
||||||
args = ["--paging=never", "{{ "{{ .Destination }}" }}", "{{ "{{ .Target }}" }}"]
|
args = ["--paging=never", "{{ "{{ .Destination }}" }}", "{{ "{{ .Target }}" }}"]
|
||||||
pager = "moar"
|
pager = "moar"
|
||||||
|
|
||||||
|
# vim: set ft=toml expandtab tabstop=2 shiftwidth=2:
|
||||||
|
|
|
@ -467,3 +467,5 @@ config.key_tables = {
|
||||||
|
|
||||||
-- and finally, return the configuration to wezterm
|
-- and finally, return the configuration to wezterm
|
||||||
return config
|
return config
|
||||||
|
|
||||||
|
# vim: set ft=lua expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -371,3 +371,5 @@
|
||||||
executable: true
|
executable: true
|
||||||
refreshPeriod: "{{ $defaultRefresh }}"
|
refreshPeriod: "{{ $defaultRefresh }}"
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
# vim: set ft=yaml expandtab tabstop=2 shiftwidth=2:
|
||||||
|
|
|
@ -6,3 +6,4 @@
|
||||||
|
|
||||||
[ -s "$HOME/.config/sz.env/_.load.sh" ] && . <( "$HOME/.config/sz.env/_.load.sh" - )
|
[ -s "$HOME/.config/sz.env/_.load.sh" ] && . <( "$HOME/.config/sz.env/_.load.sh" - )
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -140,3 +140,5 @@ common_subcommands = [
|
||||||
#
|
#
|
||||||
# Set commands that should be totally stripped and ignored from stats
|
# Set commands that should be totally stripped and ignored from stats
|
||||||
#common_prefix = ["sudo"]
|
#common_prefix = ["sudo"]
|
||||||
|
|
||||||
|
# vim: set ft=toml expandtab tabstop=2 shiftwidth=2:
|
||||||
|
|
|
@ -99,3 +99,4 @@ disabled = false
|
||||||
[character]
|
[character]
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
|
# vim: set ft=toml expandtab tabstop=2 shiftwidth=2:
|
||||||
|
|
|
@ -7,3 +7,5 @@ else
|
||||||
${NO_RESET:+:} reset
|
${NO_RESET:+:} reset
|
||||||
export NO_RESET=1
|
export NO_RESET=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -6,3 +6,4 @@ function is_truenas() {
|
||||||
&& [ "$(systemctl is-active "$TRUENAS_TARGET")" = "active" ]
|
&& [ "$(systemctl is-active "$TRUENAS_TARGET")" = "active" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -2,3 +2,5 @@
|
||||||
|
|
||||||
PATH="$HOME/bin:$PATH"
|
PATH="$HOME/bin:$PATH"
|
||||||
PATH="$HOME/.local/bin:$PATH"
|
PATH="$HOME/.local/bin:$PATH"
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"'
|
#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"'
|
||||||
|
|
||||||
export PATH="$HOME/.local/opt/node/bin:$PATH"
|
export PATH="$HOME/.local/opt/node/bin:$PATH"
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -14,3 +14,4 @@ fi
|
||||||
&& PATH="$SCALE_POOL_ROOT/data/scripts/truestuff:$PATH" \
|
&& PATH="$SCALE_POOL_ROOT/data/scripts/truestuff:$PATH" \
|
||||||
&& export PATH
|
&& export PATH
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -13,3 +13,4 @@ unset NEWPATH OLDPATH colon entry search
|
||||||
|
|
||||||
[[ -n "${DBG}" ]] && echo "${PATH//:/\n}"
|
[[ -n "${DBG}" ]] && echo "${PATH//:/\n}"
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -10,3 +10,5 @@ if [ "${SZ_NOMUX:-0}" -ne 1 ]; then
|
||||||
&& [ -z "${VSCODE_PROFILE_INITIALIZED}" ] \
|
&& [ -z "${VSCODE_PROFILE_INITIALIZED}" ] \
|
||||||
|| SZ_NOMUX=1
|
|| SZ_NOMUX=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -66,3 +66,4 @@ if [[ "${BASE_SHELL}" == "zsh" ]]; then
|
||||||
[[ -n "${DBG}" ]] && echo "ZSH preped"
|
[[ -n "${DBG}" ]] && echo "ZSH preped"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -29,3 +29,4 @@ zinit light jeffreytse/zsh-vi-mode
|
||||||
|
|
||||||
[[ -n "${DBG}" ]] && echo "zi ready"
|
[[ -n "${DBG}" ]] && echo "zi ready"
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -7,3 +7,4 @@ if false; then
|
||||||
zstyle ':completion:*' menu yes select
|
zstyle ':completion:*' menu yes select
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -10,3 +10,5 @@ if is_cmd load-zellij; then
|
||||||
|
|
||||||
[[ "$ZELLIJ_SESSION_NAME" == '__NO_LOAD__' ]] && unset ZELLIJ_SESSION_NAME
|
[[ "$ZELLIJ_SESSION_NAME" == '__NO_LOAD__' ]] && unset ZELLIJ_SESSION_NAME
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -35,3 +35,4 @@ alias vim='nvim '
|
||||||
alias nvimdiff='nvim -d '
|
alias nvimdiff='nvim -d '
|
||||||
alias vimdiff='nvimdiff '
|
alias vimdiff='nvimdiff '
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -22,3 +22,4 @@ if [[ -f "$SZ_ENV_ROOT/lib/bash-preexec/.bash-preexec.sh" ]]; then
|
||||||
[[ -n "${DBG}" ]] && echo "Bash-preexec will be loaded."
|
[[ -n "${DBG}" ]] && echo "Bash-preexec will be loaded."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -20,3 +20,4 @@ if [[ -n "${DBG}" && -n "${BLE_VERSION-}" ]]; then
|
||||||
echo "ble.sh will be loaded."
|
echo "ble.sh will be loaded."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -4,3 +4,4 @@ if is_cmd broot; then
|
||||||
source /mnt/szmedia/USERDATA/home/sz/.config/broot/launcher/bash/br
|
source /mnt/szmedia/USERDATA/home/sz/.config/broot/launcher/bash/br
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -8,3 +8,4 @@ if [[ -n "${DBG}" && -n "$( command -v _complete_alias )" ]]; then
|
||||||
echo "complete-alias will be loaded."
|
echo "complete-alias will be loaded."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -13,3 +13,4 @@ if is_cmd webi; then
|
||||||
. <(webi --init "${SHELL##*/}")
|
. <(webi --init "${SHELL##*/}")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -95,3 +95,4 @@ else
|
||||||
''
|
''
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -5,3 +5,5 @@ if is_cmd szetup-kubectl4k3s && [ "$(systemctl is-active k3s.service)" = "active
|
||||||
|
|
||||||
[[ -n "${DBG}" ]] && echo "kubectl for k3s setup complete."
|
[[ -n "${DBG}" ]] && echo "kubectl for k3s setup complete."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -20,3 +20,5 @@ if [[ -x "${CUSTOM_NVIM_PATH:-$HOME/.local/bin/nvim}" ]]; then
|
||||||
"update-alternatives --set vimdiff '${CUSTOM_NVIM_PATH}'"
|
"update-alternatives --set vimdiff '${CUSTOM_NVIM_PATH}'"
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -17,3 +17,4 @@ if is_cmd midclt; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -9,3 +9,4 @@ if is_cmd lsd; then
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -7,3 +7,5 @@ if is_cmd pet; then
|
||||||
|
|
||||||
[[ -n "${DBG}" ]] && echo "pet loaded."
|
[[ -n "${DBG}" ]] && echo "pet loaded."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -11,3 +11,4 @@ elif [[ -n "${DBG}" ]]; then
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -8,3 +8,4 @@ if is_cmd vivid && [ -z "$LS_COLORS" ]; then
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -9,3 +9,4 @@ if is_cmd eza; then
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -3,3 +3,5 @@
|
||||||
if ! is_cmd atuin && is_cmd load-fzf; then
|
if ! is_cmd atuin && is_cmd load-fzf; then
|
||||||
. <( load-fzf - )
|
. <( load-fzf - )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -15,3 +15,5 @@ if is_cmd atuin; then
|
||||||
|
|
||||||
[[ -n "${DBG}" ]] && echo "atuin loaded."
|
[[ -n "${DBG}" ]] && echo "atuin loaded."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -10,3 +10,4 @@ if [[ "${BASE_SHELL}" == "bash" ]]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -9,3 +9,5 @@ if is_cmd tsh && tsh version | grep -q '^Teleport'; then
|
||||||
|
|
||||||
. <(tsh --completion-script-${BASE_SHELL})
|
. <(tsh --completion-script-${BASE_SHELL})
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -39,3 +39,4 @@ for _host in "${REMOTE_HOST[@]}"; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -18,3 +18,5 @@ DL_URL=$( \
|
||||||
[[ -n "$DL_URL" ]] \
|
[[ -n "$DL_URL" ]] \
|
||||||
&& printf "%s\n" $DL_URL \
|
&& printf "%s\n" $DL_URL \
|
||||||
|| return 1 2>/dev/null || exit 1
|
|| return 1 2>/dev/null || exit 1
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -36,3 +36,4 @@ else
|
||||||
''
|
''
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -38,3 +38,4 @@ else
|
||||||
''
|
''
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -121,3 +121,5 @@ else
|
||||||
" $ . <( $SCRIPT_NAME - ) # Note the '-' after the script's name" \
|
" $ . <( $SCRIPT_NAME - ) # Note the '-' after the script's name" \
|
||||||
''
|
''
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -60,3 +60,4 @@ fi
|
||||||
${SILENT:+:} printf '\n%s selected.\n' "$SELECTED" >&2
|
${SILENT:+:} printf '\n%s selected.\n' "$SELECTED" >&2
|
||||||
echo "$SELECTED"
|
echo "$SELECTED"
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -26,3 +26,4 @@ TARGET="${SSHUSER}@$(tsh-get "$SEARCH" "$SSHUSER")"
|
||||||
|
|
||||||
tsh ssh ${TUNNEL} "${TARGET}" "${@:2}"
|
tsh ssh ${TUNNEL} "${TARGET}" "${@:2}"
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -45,3 +45,4 @@ SSH_OPTS="${SSH_OPTS:--N}"
|
||||||
printf "Executing: %s ...\n" "tsh ssh ${TUNNEL} ${TARGET} ${*:2}" >&2
|
printf "Executing: %s ...\n" "tsh ssh ${TUNNEL} ${TARGET} ${*:2}" >&2
|
||||||
eval "${RUN} tsh ssh ${SSH_OPTS} ${TUNNEL} '${TARGET}' ${*:2}"
|
eval "${RUN} tsh ssh ${SSH_OPTS} ${TUNNEL} '${TARGET}' ${*:2}"
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -30,3 +30,5 @@ _update-atuin() { (
|
||||||
); }
|
); }
|
||||||
|
|
||||||
_update-atuin "${@}"
|
_update-atuin "${@}"
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -55,3 +55,5 @@ _update-nvim() {
|
||||||
}
|
}
|
||||||
|
|
||||||
_update-nvim "${@}"
|
_update-nvim "${@}"
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
|
@ -110,3 +110,4 @@ done
|
||||||
|
|
||||||
echo "${SCRIPT_NAME} for '$DEST_DIR' done." >&2
|
echo "${SCRIPT_NAME} for '$DEST_DIR' done." >&2
|
||||||
|
|
||||||
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
Loading…
Reference in New Issue