Make sure arguments are quoted correctly in emacs wrappers
This commit is contained in:
parent
1df0b2f6fd
commit
58390a943f
1 changed files with 2 additions and 3 deletions
|
@ -41,9 +41,8 @@ in
|
|||
".emacs.d/init.el".source = ./emacs/init.el;
|
||||
};
|
||||
packages = [
|
||||
(pkgs.writeShellScriptBin "emacs" ''
|
||||
${emacsPkg}/bin/emacsclient -c $@
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "emacs" ''${emacsPkg}/bin/emacsclient -c "$@"'')
|
||||
(pkgs.writeShellScriptBin "emacsclient" ''${emacsPkg}/bin/emacsclient "$@"'')
|
||||
];
|
||||
sessionVariables = { EDITOR = "emacs"; };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue