Commit Graph
5 Commits
Author SHA1 Message Date
Xavier LogeraisandCopilot 158c3f99f0 perf: remove unnecessary subshells in command -v checks
Replace 'if (command -v x &>/dev/null); then' with
'if command -v x &>/dev/null; then' across completion.d, rc.d and
profile.d. Parentheses forced a subshell fork for every 'if' check,
which is unnecessary overhead since command -v runs fine in the
current shell.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-28 18:17:13 +02:00
xavier 874d55625c fix: Try to fix completion 2026-08-23 17:21:48 +02:00
xavier 6a53ee36fd chore(rc,profile,aliases,completion,libs,functions): Remove shebangs from sourced files
These files are always sourced (never executed directly), so the
#!/bin/bash shebang is inert and misleading. Drop it consistently
across rc.d/*, profile.d/*, and aliases.d/*.
2026-08-22 00:52:02 +02:00
xavier 981430eef1 feat(completion): Amélioration de la complétion pour mise 2025-03-13 00:20:24 +01:00
Xavier Logerais c9bb673a15 feat: Ajout completion pour mise 2024-06-18 12:44:05 +00:00