# Top Disk-Using directories
+# TODO: Consider using numfmt instead of awk
tdu() {
du "$1" \
| sort -n -k 1 -r --parallel="$(nproc)" \
}
experiment() {
- cd "$($HOME/bin/experiment $@)"
+ cd "$($HOME/bin/experiment $@)" || exit 1
}
hump() {
}
howto() {
- cat $(ls -1 -d $HOME/Archives/Documents/HOWTOs/* | fzf)
+ cat "$(find ~/Archives/Documents/HOWTOs -mindepth 1 -maxdepth 1 | sort | fzf)"
}
gh_fetch_repos() {
Morning report
--------------
-### Yesterday
+### Previous
-### Today
+### Current
### Blockers
weather() {
curl "http://wttr.in/$WEATHER_LOCATION"
}
+
+bt_devs_paired() {
+ bluetoothctl -- paired-devices \
+ | awk '{print $2}' \
+ | xargs bluetoothctl -- info
+}
+
+bt_devs() {
+ bluetoothctl -- devices \
+ | awk '{print $2}' \
+ | xargs bluetoothctl -- info
+}