we stop redirecting to 2

This commit is contained in:
Natalie Marks 2025-07-05 21:13:42 -07:00
parent 512a87da53
commit fda999db96
No known key found for this signature in database
GPG key ID: 61F4EAEB0C9C3D5F

9
nvim
View file

@ -1,13 +1,14 @@
#!/bin/sh
username="$(id -u -n)"
if [ "$username" = "clo" ]; then
name="chloe";
name="chloe"
elif [ "$username" = "nmarks" ]; then
name="natalie";
name="natalie"
elif [ "$username" = "fish" ]; then
name="julia"
fi
if [ -z "$name" ]; then
echo "Configure this wrapper script with your name." >2
echo "Configure this wrapper script with your name." >&2
exit 1
fi
exec nix run ".#nvim-$name" -- "$@"