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