nixos-edit: rebase when pulling
This commit is contained in:
parent
ad2a47d42b
commit
f46fc2f042
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ pkgs.writeShellScriptBin "nixos-edit" ''
|
|||
|
||||
cd /etc/nixos
|
||||
if [ "$1" = "pull" ] ; then
|
||||
git pull
|
||||
git pull --rebase
|
||||
fi
|
||||
if [ "$1" = "edit" ] || [ "$1" = "" ] || [ "$1" = "test" ] ; then
|
||||
sudo hx .
|
||||
|
|
Loading…
Add table
Reference in a new issue