mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
fix: exit if no dir exists
This commit is contained in:
parent
dc259911b7
commit
618e037652
1 changed files with 1 additions and 3 deletions
|
|
@ -18,7 +18,5 @@ if [ "$CHOSEN" ]; then
|
|||
|
||||
git add "$CHOSEN" && git commit -m "chore: updates (auto)" && git push && notify-send "Changes pushed"
|
||||
else
|
||||
cd "$NOTEDIR" || exit 1
|
||||
kitty -e nvim
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue