Skip to content

Instantly share code, notes, and snippets.

@neanias
neanias / fresh_setup
Last active February 26, 2024 17:11
[UNMAINTAINED] Portable neovim setup
#!/bin/bash
cd ~
echo "Linking .nvimrc into home directory (~)"
if [ -z "$XDG_CONFIG_HOME" ]; then
export XDG_CONFIG_HOME=~/.config
fi
if [ ! -d $XDG_CONFIG_HOME/nvim ]; then
echo "Creating $XDG_CONFIG_HOME/nvim..."