done
# h1 = head -n1
for num in {1..9}; do
- eval h$num"() { head -n$num; }"
+ eval h$num"() { head -n$num || [[ \$? == 141 ]]; }"
done
pstree -apnA
}
+# journalctl with times in the format the --since= and --until= options accept
+jrt() { journalctl -e -n100000 -o short-full "$@"; }
jr() { journalctl -e -n100000 "$@" ; }
jrf() { journalctl -n1000 -f "$@" ; }
jru() {
fi
/usr/bin/nagstamon &
}
+prof() {
+ if ! pgrep -f /usr/lib/notification-daemon/notification-daemon >/dev/null; then
+ /usr/lib/notification-daemon/notification-daemon &
+ fi
+ profanity "$@"
+}
+
+
nmt() {
# cant use s because sudo -i doesnt work for passwordless sudo command