diff --git a/.bin/sb-pomo b/.bin/sb-pomo index 2f65e0e..676c17c 100755 --- a/.bin/sb-pomo +++ b/.bin/sb-pomo @@ -1,3 +1,3 @@ #!/usr/bin/env bash -cat /tmp/pomo +[ -f "/tmp/pomo" ] && cat /tmp/pomo || echo "" diff --git a/.bin/sb-project b/.bin/sb-project index 4d302b7..a009c7e 100755 --- a/.bin/sb-project +++ b/.bin/sb-project @@ -1,3 +1,4 @@ #!/usr/bin/env bash -cat "$HOME/.project" +# Render contents of $HOME/.project if present +[ -f "$HOME/.project" ] && cat "$HOME/.project" || echo ""