Releases: carapace-sh/carapace-bin
v0.12.5
Changelog
- e463cf0 Merge pull request #1139 from rsteube/add-toitlsp
- 53218ed Merge pull request #1140 from rsteube/toitpkg-rename
- 2b063d7 Merge pull request #1141 from LoicGrobol/patch-1
- 3534449 Merge pull request #1142 from rsteube/gh-repo-style
- f5a9ba2 Merge pull request #1143 from rsteube/gh-split-actionusers
- 6ef9513 Merge pull request #1144 from rsteube/doc-spec
- 0090d58 Merge pull request #1145 from rsteube/gh-label-timeout
- 093a700 Merge pull request #1146 from rsteube/git-changes-default
- 9f1d894 Merge pull request #1147 from rsteube/tmux-attach-session
- e95dad9 Merge pull request #1148 from rsteube/tmux-bindkey
- a25d86f Merge pull request #1149 from rsteube/tmux-breakpane
- a825490 Merge pull request #1150 from rsteube/tmux-capturepane
- b64af1b Merge pull request #1151 from rsteube/tmux-choosebuffer
- 2d676c4 Merge pull request #1152 from rsteube/gh-styles
- 56d4428 Merge pull request #1153 from rsteube/add-ps
- 84602a5 Merge pull request #1154 from rsteube/add-csview
- a96f3fd Update README.md
- 15db1d0 added csview
- a6c518a added ps
- 164e740 added toit.lsp
- 4b1e5b9 doc: renamed to spec
- 0bdb355 exa: add missing --icons and --numeric flags
- 68778d4 exa: added missing flags
- 587c89f gh: added repo styles
- 89b236a gh: increased label cache to 24h
- 54c7f04 gh: split ActionUsers into seperate actions
- 91837f6 gh: updated styles
- 05af3f1 git: ActionChanges default
- f22471c tmux: attach-session
- 10a70a3 tmux: bind-key
- d2b972b tmux: break-pane
- 35f093e tmux: capture-pane
- cc6792c tmux: choosebuffer
- b4ec08c toitpkg: renamed to toit.pkg
v0.12.4
Changelog
- 73cb302 Merge pull request #1117 from rsteube/terraform-chdir
- 9cef6ee Merge pull request #1118 from rsteube/docker-compose-actions
- e01e263 Merge pull request #1119 from rsteube/gh-2.10.0
- 00e0e80 Merge pull request #1120 from rsteube/gh-2.10.1
- d381323 Merge pull request #1121 from rsteube/specs-notice
- bec2f56 Merge pull request #1122 from rsteube/doc-macro
- db5b928 Merge pull request #1123 from rsteube/doc-examples
- 3b4bd47 Merge pull request #1124 from rsteube/bridge-carapace-action
- aab3be9 Merge pull request #1125 from rsteube/add-go-carpet
- 246a47f Merge pull request #1126 from rsteube/go-carpet-func
- 46f0f74 Merge pull request #1127 from rsteube/go-carpet-func
- 48b1585 Merge pull request #1128 from rsteube/doc-add-spec-example
- b130e70 Merge pull request #1129 from rsteube/macros-badge
- cc8d480 Merge pull request #1130 from rsteube/docker-compose-volumes-macro
- 801023d Merge pull request #1131 from rsteube/git-reffiles
- aa131f6 Merge pull request #1132 from rsteube/compose-expose-macros
- 4eaf608 Merge pull request #1133 from rsteube/gh-pinnedissues
- 3029267 Merge pull request #1134 from rsteube/gh-expose-macros
- bfea916 Merge pull request #1135 from rsteube/gh-licenses-macro
- 843f833 Merge pull request #1136 from rsteube/gh-expose-labels
- e35ffea Merge pull request #1137 from rsteube/gh-search-range
- 153ae6b Merge pull request #1138 from rsteube/fix-fmt
- c5e1aef actions: added bridge action for carapace
- ab91338 added go-carpet
- 8ad44f9 added macros badge
- a381ffe doc: added spec example
- f8f18b0 doc: added spec examples
- bebdf83 doc: updated macro
- 269a037 docker-compose: expose macros
- 8787f94 docker-compose: expose volumes macro
- 6f66ea4 docker-compose: move actions
- 1674537 fix fmt
- 20db068 gh: added ActionPinnedIssues
- 875237f gh: expose labels macro
- 6cea7f1 gh: expose macros
- c08935e gh: exposed licenses macro
- 538146f gh: search range
- 311d19a gh: updates from 2.10.0
- aba87cf gh: updates from 2.10.1
- 3a7a7f6 git: ActionRefFiles - added nospace and style
- 0422fbf go-carped: add missing commit
- 034bd80 go-carpet: func completion
- 666540b macro: fix descriptions
- fa1b9bc specs: added notice
- 8d48457 terraform: chdir preinvoke
v0.12.3
v0.12.2
Changelog
- 5e918cb Merge pull request #1090 from rsteube/macro-signature
- fe1b3cf Merge pull request #1091 from rsteube/macro-fix-actions
- 378e5c0 Merge pull request #1092 from rsteube/doc-macros
- f0a937a Merge pull request #1093 from rsteube/doc-fix-macro
- ccf02b1 Merge pull request #1094 from rsteube/doc-artifact
- f7de1c2 Merge pull request #1095 from rsteube/artifact-location
- 9e89c2e Merge pull request #1096 from rsteube/test
- 1e24d08 Merge pull request #1097 from rsteube/fix-permissions
- 738f6b6 Merge pull request #1098 from rsteube/ps-actions
- 94ef732 Merge pull request #1099 from rsteube/color-actions
- 6a9f719 Merge pull request #1100 from rsteube/complete-macros
- f0cd637 Merge pull request #1102 from rsteube/git-colors
- 7b6e4c4 Merge pull request #1102 from rsteube/git-colors
- d609adf Merge pull request #1103 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-spec-0.0.15
- 0424efe Merge pull request #1106 from rsteube/tmux-subcommands
- 6488d3d Merge pull request #1107 from rsteube/tmux-actions
- 6f97bfc Merge pull request #1109 from rsteube/tmux-killwindow
- d389cbe Merge pull request #1110 from rsteube/tmux-killsession
- c3f3da8 Merge pull request #1111 from rsteube/update-spec
- a9554ed Merge pull request #1112 from rsteube/git-stash-style
- 48c5907 Merge pull request #1113 from rsteube/spec-quote-path
- 340f076 Merge pull request #1114 from rsteube/spec-default
- 2ba1bfa actions: moved color related actions to separate package
- 3dbf138 actions: moved process related actions to separate package
- e19c3ae build(deps): bump github.com/rsteube/carapace-spec from 0.0.14 to 0.0.15
- b016cce doc: added macros
- ac5f4f4 doc: fix macro gen
- 99ceda3 doc: pass bin as artifact
- 9d86e0f fix download path
- 453ce27 fix permissions
- c167cac git: color config style
- 46c129c git: fix stash style
- 1e27864 macro: fix actions
- 8d2462a macro: fix signature
- 63d9bb3 macros: complete examples
- 28427db set artifact location
- ea0bfeb spec: default arg
- d1bcd86 spec: quote path
- cc965e2 tmp
- 0a40da5 tmux: added ACtionSessions and ActionWindows
- 92c128d tmux: kill-session
- d29a629 tmux: kill-window
- 68eed50 upated spec
v0.12.1
Spec Autoloading
Specs placed in ${UserConfigDir}/carapace/specs/
(UserConfigDir) are now registered with carapace _carapace
.
File name must be the command to be completed and match ^[0-9a-zA-Z_\-.]+\.yaml$
(sanity check to avoid breakage in scripts).
Custom Macros
Exposed actions as custom macros (list with carapace --macros
).
Removed the _
prefix from core macros to avoid clashes (e.g. $files
, $directories
).
Macro Arguments
Arguments are parsed as yaml
($macro(yaml)
- e.g.: $_tools.gh.Users({users: true})
).
Brackets are optional when no argument is passed ($files
instead of $files()
).
Variable Substitution
Variables are replaced using drone/envsubst for contextual completion:
name: myzip
completion:
positional:
- ["$files([.zip])"] # ${C_ARG0}
positionalany: ["$_fs.ZipFileContents(${C_ARG0})"] # ${C_ARG1},${C_ARG2},...
Flags are only added to env when their value changed (thus: ${C_FLAG_FLAGNAME:-default}
):
name: myrefs
flags:
--tags: list tags # ${C_FLAG_TAGS}
--localbranches: list local branches # ${C_FLAG_LOCALBRANCHES}
--commits=: amount of commits # ${C_FLAG_COMMITS}
completion:
positional:
- ["$_tools.git.Refs({tags: ${C_FLAG_TAGS:-false}, localbranches: ${C_FLAG_LOCALBRANCHES:-false}, commits: ${C_FLAG_COMMITS:-0}})"] # refs based on flag values with defaults
- ["$_tools.git.Refs"] # default refs
- ["$(env)"] # env
Changelog
- 4c1adb5 Merge pull request #1083 from rsteube/custom-macros
- c15cc7b Merge pull request #1085 from rsteube/actions-http
- 86282ef Merge pull request #1087 from rsteube/macros
- a70de34 Merge pull request #1089 from rsteube/actions-gh-signature
- 77209c6 actions: remove http prefix
- 60f5609 actions: tools.gh.ActionUsers macro signature
- 7806533 added custom macros
- 3e442f8 spec: expose Actions as custom macros
v0.12.0
Preinvoke
Generic alteration of completion before execution which enables features like directory change in git -C <DIR>
:
Spec
Experimental support for simple completions using yaml
spec files:
name: example
description:
flags:
--dynamic=: dynamic value
-o, --optarg?: optarg flag
-s, --styled=: styled values
completion:
flag:
dynamic: ["$(git branch --all | cut -c 3- | sed 's/$/\t\tblue/')", "static value"]
optarg: ["first", "second", "third"]
styled:
- "blue\tblue\tblue"
- "cyan\tcyan\tcyan"
positional:
- ["pos1-a", "pos1-b", "pos1-c"]
- ["$_files"]
Changelog
- 71e4cb7 Merge pull request #1063 from rsteube/goreleaser-nfpm
- 29cd3a2 Merge pull request #1064 from rsteube/ioutil-deprecated
- ac22f67 Merge pull request #1065 from rsteube/git-grep
- 25af053 Merge pull request #1066 from rsteube/add-gitk
- 2e9fe58 Merge pull request #1067 from rsteube/git-gui
- add820a Merge pull request #1068 from rsteube/add-tmate
- e81f4db Merge pull request #1069 from rsteube/git-whatchanged
- 16c1be4 Merge pull request #1070 from rsteube/git-lsremotes
- 58c6747 Merge pull request #1072 from rsteube/tig-preinvoke
- baa5523 Merge pull request #1073 from rsteube/loglevel-style
- 36a67d4 Merge pull request #1074 from rsteube/fix-duplicated-stylef
- 8fbb679 Merge pull request #1075 from rsteube/pulumi-updates
- 4148558 Merge pull request #1076 from rsteube/spec-completion
- 3d01818 Merge pull request #1077 from rsteube/update-carapace-spec
- 436d718 Merge pull request #1078 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-spec-0.0.5
- b97a0ea Merge pull request #1079 from rsteube/docker-compose-path-style
- 29c2082 Merge pull request #1080 from rsteube/updated-spec
- 54529a6 Merge pull request #1081 from rsteube/update-spec
- af5621a Merge pull request #968 from rsteube/preinvoke
- 30b61d7 Merge pull request #979 from rsteube/add-volta
- 74d10d2 added gitk
- dab567b added spec completion
- b88da72 added spec flag
- 74c07af added tmate
- 58a18fd added volta
- 07396b6 build(deps): bump github.com/rsteube/carapace-spec from 0.0.4 to 0.0.5
- ff41c42 docker-compose: path style
- e0846f8 fix duplicated StyleF
- 3683894 git: grep
- 47c310e git: gui
- d4da2d2 git: ls-remote
- f005ca7 git: whatchanged
- 4f025cd goreleaser: added nfpm
- 51df807 loglevel style
- b2568cb pulumi: updates from v3.31.0
- ae981bf replaced deprecated ioutil
- 94244d0 tig: use preinvoke
- bfecc8d updated carapace to v0.20.0
- a9247e7 updated carapace-spec
- 490ab4b updated carapace-spec
- 43060e3 updated spec
v0.11.8
Changelog
- 2c1e1a9 Merge pull request #1055 from rsteube/elvish-updates
- 349fa44 Merge pull request #1058 from rsteube/aws-nospace
- 24b6ddc Merge pull request #1059 from rsteube/add-nfpm
- dcf1cfc Merge pull request #1060 from rsteube/add-urls
- 9971593 Merge pull request #1061 from rsteube/gh-updates-from-2.9.0
- a844497 added missing urls
- d46171d added nfpm
- 7594dda aws: nospace fix
- 74902e3 elvish: updates from v0.18.0
- e759822 gh: updates from v2.9.0
v0.11.7
v0.11.6
Changelog
- 6fda662 ActionKillSignals: added style
- f5e0fb3 ActionMounts: added style
- 02dfa98 ActionXtermColorNames: added style
- 26b2f5d ActionarFileClasses: added style
- 305643f Merge pull request #1037 from rsteube/gh-body-completion
- 13687f6 Merge pull request #1038 from rsteube/gh-keyword-completion
- df5ba50 Merge pull request #1039 from rsteube/gh-mentionable-users
- 080cef6 Merge pull request #1040 from rsteube/gh-issue-list-mention
- 58b2d7c Merge pull request #1041 from rsteube/actionmounts-style
- 07de435 Merge pull request #1042 from rsteube/add-terragrunt
- 7d09383 Merge pull request #1043 from rsteube/jarclass-style
- 87cb8ae Merge pull request #1044 from rsteube/add-batgrep
- 7d2bfbb Merge pull request #1045 from rsteube/add-batman
- b1524c0 Merge pull request #1046 from rsteube/add-batdiff
- 97524ff Merge pull request #1047 from rsteube/add-prettybat
- c3dc453 Merge pull request #1048 from rsteube/inkscape-style
- 86a46ad Merge pull request #1049 from rsteube/pkill-runstates
- c1d2218 Merge pull request #1050 from rsteube/killsignal-style
- b1c6843 Merge pull request #1051 from rsteube/actionxtermcolornames-style
- c6daf01 Merge pull request #1052 from rsteube/dependabot/go_modules/github.com/pelletier/go-toml-1.9.5
- b0e9c16 Merge pull request #1053 from rsteube/update-carapace
- 4d4a80e Merge pull request #1054 from rsteube/doc-nushell
- 5713a63 Update README.md
- ffd6764 added batdiff
- 04c2379 added batgrep
- 775d1f1 added batman
- 9dde803 added prettybat
- 8d12ef2 added terragrunt
- e40945e build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5
- b158c93 doc: updated nushell
- 20a7337 gh: added body link completion
- a3fc5ad gh: additional keyword completion
- 2871af7 gh: comment mentionable users completion
- d74b648 gh: issue list - fix mention completion
- 4fd1e09 inkscape: added style
- b5208b4 pkill: runstates completion
- 90f9284 updated carapace to v0.19.6
v0.11.5
Changelog
- fee8191 Merge pull request #1034 from rsteube/go-fix-delimiter
- 5baf23b Merge pull request #1035 from rsteube/git-diff-dashcompletion
- c8dbdad Merge pull request #1036 from rsteube/gh-updates-2.8.0
- bac8d73 gh: updates from v2.8.0
- 02a143e git: diff/tool - dash completion
- 85766cb go: test - fix delimiter