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:
parent
71c68087e8
commit
3c4a001d99
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue