Skip to content

Commit

Permalink
Add zsh_sessions entry to zsh (#394)
Browse files Browse the repository at this point in the history
## Details

Some info on the .zsh_sessions file can be found here:
https://apple.stackexchange.com/questions/427561/macos-zsh-sessions-zsh-history-and-setopt-append-history

It only gets generated on MacOS when using the default terminal
and can be disabled in the user zshenv file.
  • Loading branch information
MeanderingProgrammer authored Apr 23, 2024
1 parent 792fd75 commit a7eef02
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions programs/zsh.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"files": [
{
"help": "Set this in your zshenv:\n\n```bash\nSHELL_SESSIONS_DISABLE=1\n```\n\nShould only exist on macOS when using the default terminal.\n",
"movable": true,
"path": "$HOME/.zsh_sessions"
},
{
"help": "Set this in your zshrc:\n\n```bash\nzstyle ':completion:*' cache-path \"$XDG_CACHE_HOME\"/zsh/zcompcache\n```\n\nYou must manually create the _$XDG_CACHE_HOME/zsh_ directory if it doesn't exist yet.\n",
"movable": true,
Expand Down

0 comments on commit a7eef02

Please sign in to comment.