add functions dir

This commit is contained in:
TheK4n 2022-11-01 20:41:41 +03:00
parent 6586a386af
commit 845867e20e
2 changed files with 6 additions and 0 deletions

4
functions/bluetooth Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
bssid="$(bluetoothctl devices | dmenu -p "Devices: " -l 20 | cut -d' ' -f2)"
bluetoothctl connect "$bssid"

View File

@ -24,6 +24,8 @@ bindkey '^[[6~' end-of-buffer-or-history # page down
bindkey '^[[H' beginning-of-line # home
bindkey '^[[F' end-of-line # end
bindkey '^[[Z' undo # shift + tab undo last action
bindkey '^K' up-line-or-history
bindkey '^J' down-line-or-history
bindkey '^U' kill-whole-line
bindkey -M vicmd '^U' kill-whole-line
bindkey -M viins '^U' kill-whole-line