From c29c31200bc8aaae41800fcf197eb7b7eea534bb Mon Sep 17 00:00:00 2001 From: "Andrew R. M" Date: Thu, 4 Jan 2018 19:06:22 -0500 Subject: [PATCH] Ensure that a history directory is created This code did not actually work before ;_; I forgot a ! --- sh/.profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/.profile b/sh/.profile index b34f2be..b5f0b9e 100644 --- a/sh/.profile +++ b/sh/.profile @@ -27,7 +27,7 @@ export LESSHISTFILE="-" export PYTHONSTARTUP="$HOME/.pythonrc" # History preferences -if [ -w "$HOME/.history/sh" ]; then +if [ ! -w "$HOME/.history/sh" ]; then if [ ! -d "$HOME/.history" ]; then mkdir "$HOME/.history" fi