carapace-sh/carapace

xonsh

Use when working with xonsh shell internals — completion system, RichCompletion, CommandContext, contextualcommandcompleter, completer pipeline, prompt-toolkit integration, key bindings, Python/shell hybrid model, subprocess execution, xontribs, event syste…

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/carapace-sh/carapace --skill xonsh

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

Xonsh Shell In-Depth Reference

Comprehensive reference for xonsh shell internals, with emphasis on the completion system and how external tools hook into it.

Sub-Resources

Load the reference that matches your task. When in doubt, load multiple references.

KeywordsReference
RichCompletion, CommandContext, CommandArg, CompletionContext, contextualcommandcompleter, contextualcommandcompleterfor, nonexclusivecompleter, addonecompleter, Completer class, completer pipeline, exclusive vs non-exclusive, deduplication, sorting tiers, filter function, prefixlen, appendclosingquote, appendspace, display, description, style, provider, tagprovider, applylprefix, completefromsubproc, compbasedcompleter, oncompleterfilter, XONSHCOMPLETERMODE, XONSHCOMPLETERTRACE, COMPLETIONQUERYLIMIT, XONSHCOMPLETERDIRS, CommandCompleter, xompletions, bash completion bridge, path completer, command completer, python completer, base completerreferences/completion.md
PromptToolkitShell, PromptToolkitCompleter, PromptSession, Completion, CompleteStyle, key bindings, onptkcreate, COMPLETIONSDISPLAY, COMPLETIONMODE, COMPLETIONSCONFIRM, COMPLETIONSMENUROWS, UPDATECOMPLETIONSONKEYPRESS, COMPLETIONINTHREAD, AUTOSUGGESTINCOMPLETIONS, XONSHPROMPTAUTOSUGGEST, auto-suggest, menu-complete, displaymeta, highlightmatch, unquote, ptk shell, vi mode, emacs mode, XONSHAUTOPAIRreferences/prompt-toolkit.md
Python-powered shell, subprocess execution, SubprocSpec, CommandPipeline, capture modes, $() vs !() vs $[] vs ![], pipe redirect, a>p, e>p, subprocess syntax, Python expressions, shell expressions, @(), $(), ![], subprocess wrapping, quoting, string literals, raw strings, p-strings, f-strings, path strings, word splitting, glob expansion, tilde expansion, environment access, $VAR, ${VAR}, ${{VAR}}, alias system, callable alias, ExecAliasreferences/language-execution.md
rc.xsh, .xonshrc, XONSHRC, XONSHRCDIR, XONSHCONFIGDIR, xontrib, xontrib load, xontrib list, loadxontrib, unloadxontrib, entry points, event system, Event, LoadEvent, EventManager, onchdir, onprecommand, onpostcommand, oncommandnotfound, onpreprompt, onpostprompt, onenvvarchange, ontransformcommand, onexit, onptkcreate, oncompleterfilter, XSH, XSH.env, XSH.completers, XSH.commandscache, XSH.builtins, environment variables, Env class, Var, VarPattern, detype, LsColors, EnvPath, XONSH* env vars, BASHCOMPLETIONS, COMPLETEDOTS, SUBSEQUENCEPATHCOMPLETION, FUZZYPATHCOMPLETION, SUGGESTTHRESHOLD, CMDCOMPLETIONSSHOWDESC, ALIASCOMPLETIONSOPTIONSBYDEFAULTreferences/startup-config.md

Quick Guide

Cross-Project References

  • For carapace-specific xonsh integration (snippet, patch phase, value formatting, JSON output, style conversion), see the carapace-dev skill → references/shell-xonsh.md.

タスクに関連する項目