Compare commits

...

4 Commits

Author SHA1 Message Date
wzy f54e404a53
Merge ea4685a96f into e61c9c14d6 2025-03-24 12:16:10 +01:00
Shohei YOSHIDA e61c9c14d6
Merge pull request #1126 from zsh-users/remove_issue_template
Remove empty issue template
2025-03-12 20:00:19 +09:00
Shohei YOSHIDA 00cf14deaa
Remove empty issue template
This causes warnings according to GitHub's new issue template
2025-03-12 19:39:41 +09:00
Wu, Zhenyu ea4685a96f
Add cgdb completion 2024-05-10 10:16:27 +08:00
2 changed files with 28 additions and 1 deletions

View File

@ -1 +0,0 @@

28
src/_cgdb Normal file
View File

@ -0,0 +1,28 @@
#compdef cgdb
# ------------------------------------------------------------------------------
# Description
# -----------
#
# Completion script for cgdb (https://github.com/cgdb/cgdb).
# Modified from rejected https://github.com/cgdb/cgdb/pull/337/
#
# ------------------------------------------------------------------------------
# Authors
# -------
#
# * Wu, Zhenyu <wuzhenyu@ustc.edu>
#
# ------------------------------------------------------------------------------
# cgdb -- <TAB>
if ((${${words[1, CURRENT]}[(I)--]})) && [[ ${words[CURRENT]} != -- ]]; then
_gdb
# cgdb <TAB> or cgdb <TAB> -- or cgdb --<TAB>
else
_arguments -s \
"(- : *)"{-v,--version}"[Print version information and then exit.]" \
"(- : *)"{-h,--help}"[Print help (this message) and then exit.]" \
-d"[Set debugger to use.]" \
-w"[Wait for debugger to attach before starting.]" \
--
fi