1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

nixos-rebuild: change default editor to vi

This commit is contained in:
Daiderd Jordan 2019-06-05 21:41:58 +02:00
parent 71c68087e8
commit 3c4a001d99
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -98,7 +98,7 @@ fi
if [ "$action" = edit ]; then
darwinConfig=$(nix-instantiate --find-file darwin-config)
exec "${EDITOR:-nano}" "$darwinConfig"
exec "${EDITOR:-vi}" "$darwinConfig"
fi
if ! [ "$action" = list -o "$action" = rollback ]; then