home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ensure exit upon cd failure
[khome.git]
/
lib
/
login_functions.sh
diff --git
a/lib/login_functions.sh
b/lib/login_functions.sh
index
add0cd0
..
c4dcb53
100644
(file)
--- a/
lib/login_functions.sh
+++ b/
lib/login_functions.sh
@@
-1,4
+1,5
@@
# Top Disk-Using directories
# Top Disk-Using directories
+# TODO: Consider using numfmt instead of awk
tdu() {
du "$1" \
| sort -n -k 1 -r --parallel="$(nproc)" \
tdu() {
du "$1" \
| sort -n -k 1 -r --parallel="$(nproc)" \
@@
-34,7
+35,7
@@
man() {
}
experiment() {
}
experiment() {
- cd "$($HOME/bin/experiment $@)"
+ cd "$($HOME/bin/experiment $@)"
|| exit 1
}
hump() {
}
hump() {
@@
-72,9
+73,9
@@
$(date +%F)
Morning report
--------------
Morning report
--------------
-###
Yesterday
+###
Previous
-###
Today
+###
Current
### Blockers
### Blockers
@@
-97,3
+98,15
@@
work_log() {
weather() {
curl "http://wttr.in/$WEATHER_LOCATION"
}
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
+}
This page took
0.036291 seconds
and
4
git commands to generate.