From e3cfcea4aa2837dee4deee098f17bccad5fa4f2a Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 10 Oct 2020 14:00:39 +0300 Subject: [PATCH] Specify the Redis history file with an environment variable. The Redis CLI history file was moved to the Documentst folder so it would synced using Nextcloud. A symlink was left in its place to point to the new location. However it's a dangling link until the Redis CLI is first run, which upsets the pre-commit broken link check. Instead, set the REDISCLI_HISTFILE environment variable to the new location and remove the symlink. --- .bashrc | 1 + .rediscli_history | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 120000 .rediscli_history diff --git a/.bashrc b/.bashrc index e4ccdc3..6791684 100644 --- a/.bashrc +++ b/.bashrc @@ -55,6 +55,7 @@ export DOCKER_BUILDKIT=1 export PGSSLROOTCERT=/etc/ssl/certs/ca-certificates.crt export CLOUDSDK_ACTIVE_CONFIG_NAME='shore' export GNUPGHOME="$HOME/Documents/.gnupg" +export REDISCLI_HISTFILE="$HOME/Documents/.rediscli_history" alias ll='ls -lha' alias la='ls -AF' diff --git a/.rediscli_history b/.rediscli_history deleted file mode 120000 index 6e015d5..0000000 --- a/.rediscli_history +++ /dev/null @@ -1 +0,0 @@ -Documents/.rediscli_history \ No newline at end of file -- GitLab