From 7edf70bca31546067c230a0ef9582c1d3aca6673 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Fri, 16 Aug 2024 12:09:52 -0400 Subject: [PATCH] rem.sh: change default location also, show rem.sh on all system profiles --- src/dot_config/fish/config.fish | 2 +- src/dot_local/bin/executable_rem.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dot_config/fish/config.fish b/src/dot_config/fish/config.fish index 6da1afd..ccda861 100644 --- a/src/dot_config/fish/config.fish +++ b/src/dot_config/fish/config.fish @@ -6,6 +6,7 @@ end set fish_greeting "" if status --is-interactive + rem.sh show source ~/.config/fish/aliases.fish # Enable Vi bindings @@ -24,7 +25,6 @@ if status --is-interactive source ~/.config/fish/functions/extra_prompt.fish source ~/.config/fish/functions/fzf_binds.fish fzf_key_bindings - rem.sh show end if command -v zoxide > /dev/null zoxide init fish | source diff --git a/src/dot_local/bin/executable_rem.sh b/src/dot_local/bin/executable_rem.sh index 446ffeb..e618948 100644 --- a/src/dot_local/bin/executable_rem.sh +++ b/src/dot_local/bin/executable_rem.sh @@ -8,7 +8,7 @@ scriptname=$0 subcmd=$1 if [ -z "$REM_FILE" ]; then - REM_FILE="$HOME/.reminder-file" + REM_FILE="$XDG_DATA_HOME/reminder-file" touch "$REM_FILE" fi