Add aliases for emacsclient

This commit is contained in:
Tristan D. 2023-09-19 03:43:18 +02:00
parent 5a37187bdf
commit ab7249df82
Signed by: tristan
SSH key fingerprint: SHA256:U7y6eMb7CQDaTHv9XoX6/BaQnPqyxxKc+Xnfcefi6rY

View file

@ -43,7 +43,15 @@
package = pkgs.emacs-unstable-pgtk; package = pkgs.emacs-unstable-pgtk;
}; };
programs.fish.enable = true; programs.fish = {
enable = true;
functions = {
ec = "emacsclient $argv";
ecc = "emacsclient -c $argv";
ecr = "emacsclient -r $argv";
};
};
programs.firefox = { programs.firefox = {
enable = true; enable = true;