diff --git a/install.sh b/install.sh index 58eeaae..533c7e1 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ args=$@ -targetDir=$HOME/.config/nvim +targetDir=$HOME/.mjvim mkdir -p $targetDir flags="--verbose=1 -t ${targetDir}" @@ -12,3 +12,7 @@ if [[ "$args" == "--uninstall" ]]; then fi stow $flags . # newest + +# Create alias for starting nvim with custom config +echo "alias mjvim='NVIM_APPNAME=.mjvim nvim'" >> ~/.bashrc +echo "Alias 'mjvim' added to ~/.bashrc. Run 'source ~/.bashrc' or restart terminal to use."