Skip to content

Commit

Permalink
add nvim setup and alias
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxWolf-01 committed Oct 17, 2024
1 parent a5045b0 commit c591c08
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions setup
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,16 @@ tinygrad() {
pip install pydot
}

nvim() {
local appimage_url="https://github.com/neovim/neovim/releases/latest/download/nvim.appimage"
local appimage_dir="$HOME/applications"
local appimage_path="$appimage_dir/nvim.AppImage"
echo "Downloading latest Neovim AppImage..."
wget -O "$appimage_path" "$appimage_url"
chmod +x "$appimage_path"
echo "Neovim AppImage downloaded and set up at $appimage_path"
}

toolbox() {
curl -fsSL https://raw.githubusercontent.com/nagygergo/jetbrains-toolbox-install/master/jetbrains-toolbox.sh | bash
cd ~/.local/bin/ && ./jetbrains-toolbox
Expand Down
2 changes: 2 additions & 0 deletions zsh/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,5 @@ alias knbg='knb && cd general'
# increase font size
alias steam='GDK_SCALE=2 steam'

alias nvim='~/applications/nvim.AppImage'

0 comments on commit c591c08

Please sign in to comment.