Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 964 Bytes

USAGE_EXAMPLES.md

File metadata and controls

34 lines (24 loc) · 964 Bytes

Table of Contents

Switching between Slots and Profiles

eruptionctl switch profile /var/lib/eruption/profiles/swirl-perlin-rainbow.profile

Short form:

eruptionctl switch profile swirl-perlin-rainbow.profile
eruptionctl switch slot 4

Adding Shell Completions

In this example we will use the path ~/.eruption-completion.bash for the completions.
Eruption supports completions through clap-complete.
Currently supported shells are: bash, zsh, fish, elvish and powershell.

Bash example:

eruptionctl completions bash > ~/.eruption-completion.bash
echo "[ -f ~/.eruption-completion.bash -a -r ~/.eruption-completion.bash ] && . ~/.eruption-completion.bash" >> ~/.bashrc