Skip to main content

New answers tagged

3 votes

How can I change the location of `.zsh_sessions` directory

You will need to change the location in /etc/zshrc_Apple_Terminal. From that file: # Set up the session directory/file. SHELL_SESSION_DIR="${ZDOTDIR:-$HOME}/.zsh_sessions" ...
Marc Wilson's user avatar
  • 6,940
3 votes
Accepted

How to tell iterm2 to use emacs mode, not vi mode

It has nothing to do with Terminal vs iTerm and everything to do with what the shell running inside them is configured to do. The terminal emulator is not providing the line editor, the shell is. ...
Marc Wilson's user avatar
  • 6,940
1 vote

How to tell iterm2 to use emacs mode, not vi mode

I still don't know why iterm2 behaves differently from Terminal and Hyper but here's a fix: Append bindkey -e on a new line to your ~/.zshrc. This explicitly tells zsh to use emacs/readline ...
Cornelius Roemer's user avatar

Top 50 recent answers are included