home: fish: add bluetooth aliases and abbrevs

This commit is contained in:
Antoine Martin 2022-12-12 12:45:46 +01:00
parent abcf14ba98
commit ae47ba3b41

View file

@ -22,6 +22,16 @@ in {
programs.fish = { programs.fish = {
enable = true; 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";}; xdg.configFile."fish/functions" = {source = ./. + "/functions";};