1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-07-21 19:05:19 +02:00

Add omp shell completions for fish, zsh, bash, and nushell

This commit is contained in:
TheGeneralist 2026-06-11 19:45:31 +02:00
parent 937fe2585e
commit 13267aafb3
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
3 changed files with 252 additions and 0 deletions

View file

@ -204,6 +204,9 @@ in
if set -q GHOSTTY_RESOURCES_DIR
source "$GHOSTTY_RESOURCES_DIR/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish" 2>/dev/null
end
if command -sq omp
omp completions fish | source
end
'';
functions = {
@ -225,7 +228,17 @@ in
export SHELL='${nuExe}'
exec "$SHELL"
fi
if command -v omp &>/dev/null; then
eval "$(omp completions zsh)"
fi
'';
programs.bash.initExtra = ''
if command -v omp &>/dev/null; then
eval "$(omp completions bash)"
fi
'';
}
)
];