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
|
#!/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" -- "$@"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue