improve astronvim setup

This commit is contained in:
2024-02-07 12:56:05 -07:00
parent e5c2b2ce30
commit ae8e847087
2 changed files with 6 additions and 3 deletions

View File

@@ -1,9 +1,9 @@
if status is-interactive
# Commands to run in interactive sessions can go here
if type -q $zoxide
if type -q zoxide
zoxide init fish | source
end
if type -q $atuin
if type -q atuin
atuin init fish | source
end

View File

@@ -27,7 +27,10 @@ curl https://raw.githubusercontent.com/candrewlee14/webman/main/scripts/install.
/usr/bin/env fish ~/.config/fish/.on_install.fish
git clone https://github.com/AstroNvim/AstroNvim ~/.config/nvim
echo "Moving current nvim config to nvim.bak"
mv ~/.config/nvim ~/.config/nvim.bak || echo ""
echo "Installing AstroNvim config"
git clone --depth 1 https://github.com/AstroNvim/AstroNvim ~/.config/nvim
git clone https://github.com/candrewlee14/astronvim_config ~/.config/nvim/lua/user
if test -x ~/.webman/bin/nvim; then