21 lines
423 B
Fish
21 lines
423 B
Fish
|
#!/bin/env fish
|
||
|
begin
|
||
|
set -l dir (status dirname)
|
||
|
set -l base "$dir/../../../Common/Software/Oh My Posh/main.fish"
|
||
|
source "$dir/../../Scripts/software.fish"
|
||
|
|
||
|
function installSW
|
||
|
yayinst oh-my-posh-bin
|
||
|
end
|
||
|
|
||
|
function configureSW -V base
|
||
|
fish "$base" configure
|
||
|
end
|
||
|
|
||
|
function userConfig -S -V base -a name
|
||
|
fish "$base" userConfig $argv
|
||
|
end
|
||
|
|
||
|
runInstaller $argv
|
||
|
end
|