From ae47ba3b414b309bf938b3b2a0988cefd1bcee91 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 12 Dec 2022 12:45:46 +0100 Subject: [PATCH] home: fish: add bluetooth aliases and abbrevs --- home/fish/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/home/fish/default.nix b/home/fish/default.nix index 6fa9f00..b415982 100644 --- a/home/fish/default.nix +++ b/home/fish/default.nix @@ -22,6 +22,16 @@ in { programs.fish = { enable = true; + shellAliases = { + "bt" = "bluetoothctl"; + }; + shellAbbrs = { + "bton" = "bluetoothctl power on"; + "btoff" = "bluetoothctl power off"; + "btcon" = "bluetoothctl connect"; + "btdis" = "bluetoothctl disconnect"; + "btinfo" = "bluetoothctl info"; + }; }; xdg.configFile."fish/functions" = {source = ./. + "/functions";};