Read about our upcoming Code of Conduct on this issue

Commit 6ccb2f1c authored by Ash McKenzie's avatar Ash McKenzie
Browse files

New asdf_is_opt_out() function

parent 6a08682f7eb9
......@@ -57,6 +57,16 @@ asdf_is_available() {
fi
}
asdf_is_opt_out() {
opt_out=$(gdk config get asdf.opt_out 2> /dev/null)
if [[ "${opt_out}" == "true" ]]; then
return 0
else
return 1
fi
}
prefix_with_asdf_if_available() {
local command
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment