Add a function for checking whether a configuration is applied

This commit is contained in:
Manuel Thalmann 2024-07-20 14:03:35 +02:00
parent 3f6f037394
commit e23dec2a75

View file

@ -1,4 +1,8 @@
#!/bin/env fish
function isConfigured -S
set -q "$CONFIG_MODULE"
end
function getConfig -S -a property
source "$(status dirname)/eval-module.fish"
evalModule "$CONFIG_MODULE" "$property" $argv[2..]