Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto latest for font #66

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions installer/linux-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pack_manager_install() {
install_font() {
echo "Downloading font"
echo "Please wait"
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/JetBrainsMono.zip --output-document ~/Downloads/JetBrainsMono.zip
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.3.2/JetBrainsMono.zip --output-document ~/Downloads/JetBrainsMono.zip
unzip ~/Downloads/JetBrainsMono.zip -d ~/Downloads/JetBrainsMono
if ![ $PACKAGE_MANAGER == "brew" ]; then
mv ~/Downloads/JetBrainsMono/JetBrains Mono Regular Nerd Font Complete Mono.ttf /Library/Fonts/
Expand All @@ -67,15 +67,13 @@ install_font() {
}

echo "Installing dependencies"
if ! [ "$(cat /etc/os-release | grep "ID=debian")" == "ID=debian" ]; then
if [ $PACKAGE_MANAGER == "apt-get" ]; then
if [ $PACKAGE_MANAGER == "apt-get" ]; then
sudo apt install software-properties-common
sudo add-apt-repository ppa:neovim-ppa/stable -y
sudo apt update
pack_manager_install $PACKAGE_MANAGER "nvim" " " "neovim" "" "" "" ""
else
pack_manager_install $PACKAGE_MANAGER "nvim" "neovim" "neovim" "neovim" "neovim" "app-editors/neovim" "neovim"
fi
fi
pack_manager_install $PACKAGE_MANAGER "curl" "curl" "curl" "curl" "curl" "net-misc/curl" "curl"
pack_manager_install $PACKAGE_MANAGER "git" "git" "git" "git" "git" "dev-vcs/git" "git"
Expand Down