DASEL-COMPLETION-BASH(1)

πŸ“¦
version 2.8.1 Β· 4 versions
, in debian trixie, ubuntu questing

✨ DASEL-COMPLETION-BASH ✨

okay bestie, welcome to the dasel-completion-bash manual page πŸ’– this is the part of the dasel manual set that handles bash shell autocompletion, and honestly? it's giving quality of life.


🌸 NAME 🌸

dasel-completion-bash β€” literally just: generate the autocompletion script for bash. that's it. that's the whole job. no cap. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

dasel completion bash

πŸ’… DESCRIPTION πŸ’…

so here's the vibe: you run this, and it spits out the autocompletion script for the bash shell. your tab key is about to become the main character. πŸ”₯

heads up, bestie: this script depends on the bash-completion package. if you don't already have it installed, you can install it through your OS's package manager. it's not optional, it's the whole foundation of the situation. πŸ’€

to load completions in your current shell session, do this:

source <(dasel completion bash)

to load completions for every new session, you only have to execute this once. and it depends on your OS, so pay attention:

πŸ“ Linux:

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

🧚 macOS:

dasel completion bash > $(brew --prefix)/etc/bash_completion.d/dasel

and you will need to start a new shell for this setup to take effect. yes, actually. yes, for real. the shell you're in right now hasn't heard the news yet. 😭


πŸ‘‘ OPTIONS πŸ‘‘

  • -h, --help[=false] β€” help for bash. your little safety net when you forget what you're doing (we've all been there 🫢).
  • --no-descriptions[=false] β€” disable completion descriptions. want your completions plain and mysterious? this is the flag for you. ✨

🌈 SEE ALSO 🌈


auto generated by spf13/cobra πŸ’– July 2024 πŸ’– β€” that's the source and the date, bestie, and that's a wrap on dasel-completion-bash(1). go forth and tab-complete like the icon you are. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from