we stop redirecting to 2
This commit is contained in:
parent
512a87da53
commit
fda999db96
1 changed files with 5 additions and 4 deletions
9
nvim
9
nvim
|
@ -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" -- "$@"
|
||||
|
||||
|
|
Loading…
Reference in a new issue