1#!/bin/sh
2username="$(id -u -n)"
3if [ "$username" = "clo" ]; then
4 name="clover"
5elif [ "$username" = "nmarks" ]; then
6 name="natalie"
7elif [ "$username" = "fish" ]; then
8 name="fish"
9fi
10if [ -z "$name" ]; then
11 echo "Configure this wrapper script with your name." >&2
12 exit 1
13fi
14exec nix run "$(dirname "$0")#nvim-$name" -- "$@"