From a450a41293ff964f2cb99b17493318ab122a6d15 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Sun, 30 Jun 2024 16:27:31 -0700 Subject: [PATCH] fish shell abbrv for xclip pipe copy --- home/modules/fish.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/home/modules/fish.nix b/home/modules/fish.nix index 82e9514..3bfd0d6 100644 --- a/home/modules/fish.nix +++ b/home/modules/fish.nix @@ -22,10 +22,12 @@ in programs.fish = { enable = true; + shellAbbrs = { + copy = "xclip -sel clip"; + }; interactiveShellInit = builtins.readFile "${inputs.fish_theme}/fish_prompt.fish" + "\n" + - builtins.readFile ../fish/config.fish - ; + builtins.readFile ../fish/config.fish; }; }; }