Skip to content

Instantly share code, notes, and snippets.

@agkozak
Last active June 3, 2017 00:25
Show Gist options
  • Save agkozak/50a9bf7da14b9f060c68124418ac5217 to your computer and use it in GitHub Desktop.
Save agkozak/50a9bf7da14b9f060c68124418ac5217 to your computer and use it in GitHub Desktop.
To make zsh's history file work in CloudLinux with CageFS and SecureLinks

Compilation instructions:

./Util/preconfig
./configure --prefix=$HOME
make CFLAGS+=-DHAVE_SYMLINKS="0" 
make install

Put in ~/.zshrc:

setopt HIST_FCNTL_LOCK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment