summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/index.zsh3
-rw-r--r--zsh/utils.zsh7
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]