dotcli is my utility script for everything dotfiles. A bootstrap command is included in the README. A test suite and the necessary scaffolding for extending dotcli is also included.
7 lines
217 B
Fish
7 lines
217 B
Fish
function __dot_custom_subcommands
|
|
echo init
|
|
path basename $HOME/.config/dot/commands/*.fish 2>/dev/null | path change-extension ''
|
|
end
|
|
|
|
complete -c dot -n __fish_use_subcommand -a "(__dot_custom_subcommands)"
|