home: fish: add bluetooth aliases and abbrevs

This commit is contained in:
Antoine Martin 2022-12-12 12:45:46 +01:00
parent 0db0119e50
commit 6ee2268931

View file

@ -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";};