mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +02:00
chore: shfmt
This commit is contained in:
parent
881f768882
commit
60d2fd2c71
1 changed files with 14 additions and 18 deletions
|
@ -255,18 +255,15 @@ function validate_install_prefix() {
|
||||||
if confirm "$prefix/bin is not on your path. would you like to add it to $profile?"; then
|
if confirm "$prefix/bin is not on your path. would you like to add it to $profile?"; then
|
||||||
echo "appending $prefix/bin to path"
|
echo "appending $prefix/bin to path"
|
||||||
if [ "${user_shell##*/}" = "fish" ]; then
|
if [ "${user_shell##*/}" = "fish" ]; then
|
||||||
echo "fish_add_path $prefix/bin" >> $profile
|
echo "fish_add_path $prefix/bin" >>$profile
|
||||||
else
|
else
|
||||||
echo "export PATH=\$PATH:$prefix/bin" >> $profile
|
echo "export PATH=\$PATH:$prefix/bin" >>$profile
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
ADDITIONAL_WARNINGS="[WARN] the folder $prefix/bin is not on PATH, consider adding 'export PATH=$prefix/bin:\$PATH' to your $profile"
|
ADDITIONAL_WARNINGS="[WARN] the folder $prefix/bin is not on PATH, consider adding 'export PATH=$prefix/bin:\$PATH' to your $profile"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# avoid problems when calling any verify_* function
|
# avoid problems when calling any verify_* function
|
||||||
export PATH="$prefix/bin:$PATH"
|
export PATH="$prefix/bin:$PATH"
|
||||||
}
|
}
|
||||||
|
@ -482,7 +479,6 @@ function create_desktop_file() {
|
||||||
xdg-desktop-menu install --novendor "$LUNARVIM_BASE_DIR/utils/desktop/lvim.desktop" || true
|
xdg-desktop-menu install --novendor "$LUNARVIM_BASE_DIR/utils/desktop/lvim.desktop" || true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function print_logo() {
|
function print_logo() {
|
||||||
cat <<'EOF'
|
cat <<'EOF'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue