summaryrefslogtreecommitdiffstats
path: root/.zsh
diff options
context:
space:
mode:
Diffstat (limited to '.zsh')
-rw-r--r--.zsh/functions/get_cnt4
1 files changed, 2 insertions, 2 deletions
diff --git a/.zsh/functions/get_cnt b/.zsh/functions/get_cnt
index 5b06e00..5fc3d4f 100644
--- a/.zsh/functions/get_cnt
+++ b/.zsh/functions/get_cnt
@@ -1,8 +1,8 @@
# -*- mode: shell-script -*-
if [ -n "$1" ]; then
- if [ -e "~/.local/share/$1.cnt" ]; then
- cnt=$(/bin/cat "~/.local/share/$1.cnt")
+ if [ -e "$HOME/.local/share/$1.cnt" ]; then
+ cnt=$(/bin/cat "$HOME/.local/share/$1.cnt")
fi
if [ -z "$cnt" ]; then