Enable shell completion for configured command aliases
Release / release (push) Successful in 5m8s

This commit is contained in:
Sebastian Unterschütz committed 2026-10-27 19:19:42 +01:00
1 parent 14d519d010
commit 34503de68e
7 files changed
+319 -1

No files matched your search

+8 -1
View File
@@ -49,7 +49,14 @@ func WriteAliasFiles(entries []AliasEntry) error {
return err
}
writeFishAliasFile(entries) // best-effort — never blocks the caller on failure
return nil
alias := ""
for _, entry := range entries {
if entry.Host == "" {
alias = entry.Name
break
}
}
return SyncCommandCompletion(alias)
}
func writeShAliasFile(entries []AliasEntry) error {