This will hopefully help you as it has helped me in keeping my terminal windows disciplined when using multiple shells/tmux. When applied, each use of the clear
command will also invoke neofetch
giving a visually appealing and which-shell-indicative print-out every time you issue the command.
We will also configure an alias called clearall
which will invoke **only the original clear
binary **
1. Install Homebrew and neofetch if you haven’t already
Install Homebrew
https://docs.brew.sh/Installation
Use Homebrew to install neofetch
2. Create or open your .zshrc
file:
3. Paste this at the end of the file.
4. Save and exit the file
- ctl + o to write out
- press enter when prompted for a name. It must be
.zshrc
- press enter when prompted for a name. It must be
- ctl + x to exit nano