Fixing macOS Zsh Terminal History Settings
blog.akatz.org
Fixing macOS Zsh Terminal History Settings
1–10 of 66 posts
Re: Fixing macOS Zsh Terminal History Settings
#2Re: Fixing macOS Zsh Terminal History Settings
#3 $ chsh -s /bin/bash
because I have 20 years worth of bash scripts that I've carefully tailored to work on bash in MacOS and Linux and I don't have time to rewrite them all just because Apple decided they don't like GPLv3.Re: Fixing macOS Zsh Terminal History Settings
#4OT but the first command I type on a new install of MacOS is $ chsh -s /bin/bash because I have 20 years worth of bash scripts that I've carefully tailored to work on bash in MacOS and Linux and I don't have time to rewrite them all just because Apple decided they don't like GPLv3.
$ chsh -s /bin/zsh
You can’t please everybody.Re: Fixing macOS Zsh Terminal History Settings
#5OT but the first command I type on a new install of MacOS is $ chsh -s /bin/bash because I have 20 years worth of bash scripts that I've carefully tailored to work on bash in MacOS and Linux and I don't have time to rewrite them all just because Apple decided they don't like GPLv3.
Re: Fixing macOS Zsh Terminal History Settings
#6OT but the first command I type on a new install of MacOS is $ chsh -s /bin/bash because I have 20 years worth of bash scripts that I've carefully tailored to work on bash in MacOS and Linux and I don't have time to rewrite them all just because Apple decided they don't like GPLv3.
Re: Fixing macOS Zsh Terminal History Settings
#7I often have multiple concurrent sessions of terminal open, which leads to messed up history interactions. One solution I've encountered (but have not tested yet) is zsh-histdb [0]. It stores sessions' history to a SQLite db instead of a single appended file, with extra metadata about when commands were run, what session, etc. If you've already got your .zshrc file open to mess with the history settings it might be w…
Re: Fixing macOS Zsh Terminal History Settings
#8OT but the first command I type on a new install of MacOS is $ chsh -s /bin/bash because I have 20 years worth of bash scripts that I've carefully tailored to work on bash in MacOS and Linux and I don't have time to rewrite them all just because Apple decided they don't like GPLv3.
Re: Fixing macOS Zsh Terminal History Settings
#9Re: Fixing macOS Zsh Terminal History Settings
#10OT but the first command I type on a new install of MacOS is $ chsh -s /bin/bash because I have 20 years worth of bash scripts that I've carefully tailored to work on bash in MacOS and Linux and I don't have time to rewrite them all just because Apple decided they don't like GPLv3.
Also, I like zsh better.