Set the EDITOR correctly
This commit is contained in:
parent
109d2c6c97
commit
f777116b61
@ -19,8 +19,9 @@ in {
|
|||||||
[ ".config/emacs/custom" ".config/emacs/eshell/history" ];
|
[ ".config/emacs/custom" ".config/emacs/eshell/history" ];
|
||||||
|
|
||||||
defaultApplications.editor = {
|
defaultApplications.editor = {
|
||||||
cmd =
|
cmd = toString (pkgs.writeShellScript "emacsclient-newwindow" ''
|
||||||
"${config.home-manager.users.balsoft.programs.emacs.finalPackage}/bin/emacsclient -c $@";
|
${config.home-manager.users.balsoft.programs.emacs.finalPackage}/bin/emacsclient -c "$@"
|
||||||
|
'');
|
||||||
desktop = "emacsclient";
|
desktop = "emacsclient";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user