nixos-edit: dont use sudo for helix
This commit is contained in:
parent
b399f8c134
commit
6502b3a36e
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ pkgs.writeShellScriptBin "nixos-edit" ''
|
|||
git pull --rebase
|
||||
fi
|
||||
if [ "$1" = "edit" ] || [ "$1" = "" ] || [ "$1" = "test" ] ; then
|
||||
sudo hx .
|
||||
hx .
|
||||
fi
|
||||
if [ "$1" = "add" ] ; then
|
||||
sed -i -E "s/#marker.pkgs.end#/$2\n #marker.pkgs.end#/" home.nix
|
||||
|
|
Loading…
Add table
Reference in a new issue