Commit 31c52044 authored by Kevin  F. Konrad's avatar Kevin F. Konrad Committed by GitHub

don't run omf install on offline installs and print a message prompting the...

don't run omf install on offline installs and print a message prompting the user to do so instead (#958)
Co-authored-by: default avatarKevin F. Konrad <kevin.konrad@skillbyte.de>
parent 3fea8111
...@@ -332,8 +332,12 @@ function install_config ...@@ -332,8 +332,12 @@ function install_config
or echo "default" > "$OMF_CONFIG/theme" or echo "default" > "$OMF_CONFIG/theme"
# Install plugins # Install plugins
fish -c "omf install" if set -q OFFLINE
or abort "Error installing plugins" say "To complete the Oh My Fish installation, please run the command \"omf install\" (without \") when network access is available"
else
fish -c "omf install"
or abort "Error installing plugins"
end
end end
......
ca00e1e7fb3c251d55917d1f0a0f31c3816b9771c3e5e16acdbde80f4f81a997 install 1464a0163257e729579735955a834ccff4c3eb2e91d015e96e459382acaab2b7 install
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