Add aliases for emacsclient
This commit is contained in:
parent
5a37187bdf
commit
ab7249df82
1 changed files with 10 additions and 2 deletions
10
home.nix
10
home.nix
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue