diff options
| author | Skladnayazebra <skladnayazebra@gmail.com> | 2025-11-17 08:31:35 +0100 |
|---|---|---|
| committer | Skladnayazebra <skladnayazebra@gmail.com> | 2025-11-17 08:31:35 +0100 |
| commit | 8df9ab1f337c08ddc8e6c8a47df3c3a96cbaa66a (patch) | |
| tree | 510eb76bbfcef6645a9afe0aea55c5dfde17e4ad | |
| parent | acf7de66dabdf257a6e8dae0a33126e0cbb2b23e (diff) | |
Add buds battery command, remove old bb command
| -rw-r--r-- | zsh/index.zsh | 3 | ||||
| -rw-r--r-- | zsh/utils.zsh | 7 |
2 files changed, 2 insertions, 8 deletions
diff --git a/zsh/index.zsh b/zsh/index.zsh index 53703c0..b510acc 100644 --- a/zsh/index.zsh +++ b/zsh/index.zsh @@ -20,7 +20,8 @@ alias n='nvim' alias tg='git describe --tags HEAD' alias rr=ranger alias lg=lazygit -alias buds='bluetoothctl connect E4:92:82:B5:80:1F' +alias b='bluetoothctl connect E4:92:82:B5:80:1F' +alias bb='echo $(bluetoothctl info E4:92:82:B5:80:1F | grep Battery)' alias p='cd ~/projects' eval $(ssh-agent -s) >> /dev/null diff --git a/zsh/utils.zsh b/zsh/utils.zsh index 9075ce0..85d5338 100644 --- a/zsh/utils.zsh +++ b/zsh/utils.zsh @@ -12,13 +12,6 @@ deps() { fi } -# opens PR on bitbucket -bb() { - repoUrl=$(npm repo --browser=false | grep http) - branch=$(git rev-parse --abbrev-ref HEAD | jq -sRr @uri) - xdg-open "$repoUrl/pull-requests/new?source=$branch" -} - # git -C $line describe --tags HEAD [latest tag] # git -C $line tag --points-at HEAD [latest tagS] |
