diff --git a/bash/.bashrc.arch b/bash/.bashrc.arch index 5acd57c..5a7ac23 100644 --- a/bash/.bashrc.arch +++ b/bash/.bashrc.arch @@ -333,3 +333,8 @@ export BAT_THEME="ansi" # walk editor export EDITOR=vim + +bc() { + mac=$(bluetoothctl devices | rg "$1" | awk '{print $2}') + bluetoothctl connect $mac +}