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