콘텐츠로 이동
Dotweave Dotweave v0.48.0

셸 자동완성

셸에서 dotweave 탭 자동완성을 설정하는 방법을 알아보세요.

탭 자동완성을 사용하면 문서를 찾지 않아도 명령어, 플래그, 인자를 발견할 수 있어요. dotweave는 Bash, Zsh, Fish, PowerShell을 지원해요.

~/.bashrc에 이 줄을 추가하세요:

eval "$(dotweave autocomplete bash)"

그런 다음 셸을 다시 로드하세요:

source ~/.bashrc

~/.zshrc에 이 줄을 추가하세요:

eval "$(dotweave autocomplete zsh)"

그런 다음 셸을 다시 로드하세요:

source ~/.zshrc

현재 세션에서 사용하려면 다음을 실행하세요:

dotweave autocomplete fish | source

계속 사용하려면 completions 파일을 작성하세요:

mkdir -p ~/.config/fish/completions
dotweave autocomplete fish > ~/.config/fish/completions/dotweave.fish

PowerShell 프로필($PROFILE)에 이 줄을 추가하세요:

dotweave autocomplete powershell | Invoke-Expression

그런 다음 프로필을 다시 로드하세요:

. $PROFILE