Quantcast
Channel: Active questions tagged fish - Stack Overflow
Viewing all articles
Browse latest Browse all 92

How can you get doctl completion working in fish shell?

$
0
0

doctl is the digitalocean cli tool for interfacing with digitalocean resources via CLI.

It has completion options built-in, for example you can run this command to enable bash completion

doctl completion bash > /etc/bash_completion.d/doctl

(may need to sudo tee the right side)

But I have been unable to figure out how to get autocompletion for fish shell working.

The doctl cli does not provide the syntax or example command.

I tried this, but it doesn't work

doctl completion fish > .config/fish/completions/doctl

Viewing all articles
Browse latest Browse all 92

Trending Articles





<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>