diff --git a/ubuntu-desktop/configure.sh b/ubuntu-desktop/configure.sh index 6663498..bff2dad 100755 --- a/ubuntu-desktop/configure.sh +++ b/ubuntu-desktop/configure.sh @@ -19,6 +19,10 @@ sudo chown root:root -R nvim sudo mv ./nvim-linux-x86_64 /opt/nvim sudo ln -s /opt/nvim/bin/nvim /usr/local/bin/nvim +# making nvim a default editor +echo "export EDITOR='nvim'" >> ~/.bashrc +echo "export VISUAL='nvim'" >> ~/.bashrc + # cloning lazyvim repo sudo apt install git git clone https://git.exideprod.com/Exide/LazyVim-custom.git ~/.config/nvim @@ -38,6 +42,7 @@ sudo mv fzf /usr/local/bin/fzf # install fd and working around that this name is already taken by another package sudo apt install fd-find sudo ln -s $(which fdfind) /usr/local/bin/fd +echo 'alias fd="fd --no-ignore --no-hidden --full-path"' >> .bashrc # install gcc for nvim-treesitter sudo apt install build-essential