From 8bc8845feecf56b141553472b0a4311c17544e64 Mon Sep 17 00:00:00 2001 From: DogeyStamp Date: Sat, 2 Oct 2021 11:39:16 -0400 Subject: [PATCH] Fix sedi typo --- .local/bin/sedi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/sedi b/.local/bin/sedi index b33aaee..d61a877 100755 --- a/.local/bin/sedi +++ b/.local/bin/sedi @@ -12,7 +12,7 @@ FNAME=$(mktemp) if [ -e $1 ] then - cp $1 $fname + cp $1 $FNAME fi $EDITOR $FNAME @@ -28,7 +28,7 @@ fi if [ -n "$DIFF" ] then - doas cp $FNAME $1 + doas cp $FNAME $1 fi rm $FNAME