New answers tagged zsh
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"
...
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.
...
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 ...
Top 50 recent answers are included
Related Tags
zsh × 466terminal × 248
macos × 208
command-line × 170
bash × 122
iterm × 68
homebrew × 33
path × 26
mac × 13
alias × 11
permission × 10
script × 10
python × 10
environment-variables × 9
apple-silicon × 9
keyboard × 7
applescript × 7
automator × 7
finder × 6
ssh × 6
tmux × 6
network × 5
unix × 5
launchd × 5
vi × 5