mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
6 lines
186 B
Fish
6 lines
186 B
Fish
function __fish_d2__complete_themes
|
|
d2 themes |
|
|
sed -n '3,$p' |
|
|
string match --entire --regex '^-' |
|
|
string replace --regex -- '- ([^:]+): (.+)' '$2\t$1'
|
|
end
|