authorgravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2025-07-05 21:13:42-07:00
committergravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2025-07-05 21:13:42-07:00
logfda999db96a9d5c0f92072bd8f8714ae8c89f50e
tree9f225cac80325d40f2dfea76d9a73efb29bbaf72
parent512a87da536c76420784d37ba9ccac2cc83ab710
signature Commit is signed but in an unrecognized format.

we stop redirecting to 2


1 files changed, 5 insertions(+), 4 deletions(-)

nvim+5-4
...@@ -1,13 +1,14 @@...@@ -1,13 +1,14 @@
1#!/bin/sh1#!/bin/sh
2username="$(id -u -n)"2username="$(id -u -n)"
3if [ "$username" = "clo" ]; then3if [ "$username" = "clo" ]; then
4 name="chloe";4 name="chloe"
5elif [ "$username" = "nmarks" ]; then5elif [ "$username" = "nmarks" ]; then
6 name="natalie";6 name="natalie"
7elif [ "$username" = "fish" ]; then
8 name="julia"
7fi9fi
8if [ -z "$name" ]; then10if [ -z "$name" ]; then
9 echo "Configure this wrapper script with your name." >211 echo "Configure this wrapper script with your name." >&2
10 exit 112 exit 1
11fi13fi
12exec nix run ".#nvim-$name" -- "$@"14exec nix run ".#nvim-$name" -- "$@"
13