deno completions
Örnekler
Bash kabuk tamamlama yapılandırması
deno completions bash > /usr/local/etc/bash_completion.d/deno.bash
source /usr/local/etc/bash_completion.d/deno.bash
ipucu
To ensure that Bash completions work, make sure to source the file after running the command.
PowerShell kabuk tamamlama yapılandırması
deno completions powershell | Out-String | Invoke-Expression
bilgi
This command initializes Deno completions for PowerShell, making it easier to use Deno commands without memorizing them.
zsh kabuk tamamlama yapılandırması
İlk olarak, aşağıdakileri .zshrc
dosyanıza ekleyin:
fpath=(~/.zsh/completion $fpath)
autoload -U compinit
compinit
Sonrasında, aşağıdaki komutları çalıştırın:
deno completions zsh > _deno
mv _deno ~/.zsh/completion/_deno
autoload -U compinit && compinit
not
Remember to restart your terminal or source your .zshrc
to apply the changes.
fish kabuk tamamlama yapılandırması
deno completions fish > completions.fish
chmod +x ./completions.fish
tehlike
Ensure the completions.fish
script has the correct permissions to execute; otherwise, it won't run as expected.