aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/zsh/dot_zshrc
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:24:37 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:24:37 +0100
commit9efcb19038851085f1cc8c8ae489740b8db5e6f9 (patch)
tree40c620bb79af3e295ddb544db8bc80a44ffe3399 /dot_config/zsh/dot_zshrc
parent382fa580aec083ad6e702a07a9a2180bd08a841e (diff)
downloaddotfiles-9efcb19038851085f1cc8c8ae489740b8db5e6f9.tar.gz
dotfiles-9efcb19038851085f1cc8c8ae489740b8db5e6f9.tar.bz2
dotfiles-9efcb19038851085f1cc8c8ae489740b8db5e6f9.zip
style: silence false-positive lint warnings
Inline directives for cases where the linter's shell/language dialect doesn't match reality: - init.lua: _G.P helper is intentional - dot_zprofile: zsh tied arrays, $+commands, optional sourcing - dot_zshrc: zsh brace-group-as-function-body - ipython_config: 'c' is injected by IPython at load time - doasedit: /bin/sh on Arch is bash, -O test is supported
Diffstat (limited to 'dot_config/zsh/dot_zshrc')
-rw-r--r--dot_config/zsh/dot_zshrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc
index dd5a82d..7bb6010 100644
--- a/dot_config/zsh/dot_zshrc
+++ b/dot_config/zsh/dot_zshrc
@@ -64,6 +64,7 @@ _comp_options+=(globdots) # include hidden files in completion
# Without this, some terminals send wrong sequences for special keys.
if (( ${+terminfo[smkx]} && ${+terminfo[rmkx]} )); then
autoload -Uz add-zle-hook-widget
+ # shellcheck disable=all # zsh brace-group-as-function-body isn't bash syntax
function zle_application_mode_start { echoti smkx }
function zle_application_mode_stop { echoti rmkx }
add-zle-hook-widget -Uz zle-line-init zle_application_mode_start