From b5e983adcfa0a0d615f029ea29984357689b8b32 Mon Sep 17 00:00:00 2001
From: Recolic <git@me.recolic.net>
Date: Wed, 19 Mar 2025 00:03:49 -0700
Subject: [PATCH] .bugfix

---
 mybin/hshell.fish  | 4 ++++
 mybin/rwatchdog.sh | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/mybin/hshell.fish b/mybin/hshell.fish
index 5de4be4..99b2d4f 100755
--- a/mybin/hshell.fish
+++ b/mybin/hshell.fish
@@ -47,6 +47,10 @@ end
 #     sudo umount -l -f $mountdir
 #     rmdir $mountdir
 # end
+
+if test -d $HOME/tmp/h
+    cd $HOME/tmp/h
+end
 ' > /tmp/.hs.fish
 
 env RECOLIC_ENV_NAME=HSHELL fish --private -C 'source /tmp/.hs.fish'
diff --git a/mybin/rwatchdog.sh b/mybin/rwatchdog.sh
index cdb1976..9bf0ac7 100755
--- a/mybin/rwatchdog.sh
+++ b/mybin/rwatchdog.sh
@@ -42,7 +42,7 @@ function play_alarm_once () {
         "soft"*)
             alarm_fish_vol=70% alarm_fish_file=/usr/share/sounds/freedesktop/stereo/alarm-clock-elapsed.oga alarm_fish_beep_once=1 alarm.fish 0
             local counter=$(echo "$alarm_state" | cut -d ' ' -f 2)
-            if [[ "$counter" =~ "^[0-9]+$" ]]; then
+            if [[ "$counter" =~ ^[0-9]+$ ]]; then
                 if [[ "$counter" -le 1 ]]; then
                     alarm_state=hard
                 else
-- 
GitLab