Ensure that a history directory is created
This code did not actually work before ;_; I forgot a !
This commit is contained in:
parent
bb11db42a5
commit
c29c31200b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user