Sexy Terminal
Looks good?
Hyper + MSYS2 + ZSH on Windows
Hyper on Linux
Terminal on Windows
Hyper
+ MSYS2
+ ZSH
MSYS2
MSYS2 is the terminal that I use to replace CMD on Windows.
Open MSYS2 in Right Click Menu
- Open Regedit
- HKEY_CLASSES_ROOT\Directory\Background\shell
- Add (Default) -> Display name
- Add Icon -> Display icon
- Add command(Default) -> “C:\Users\chfa\Development\msys64\mingw32.exe” “%V”
Hyper
Hyper is a shell on top of MSYS2. It makes MSYS2 more pretty and mordern.
Zsh
Terminal on Linux
Hyper
+ ZSH
Hyper
Hyper takes care of your terminal on Linux.
Zsh
Terminal on macOS
Hyper + Zsh
or iTerm2 + Zsh
iTerm2
No doubt, iTerm2 is the most popular terminal on macOS.
Hyper
Now Hyper takes the place of iTerm2 in my mind.
Zsh
Hyper - on all platforms
Hyper works on all platforms. It just looks beautiful.
Config
Ctrl or CMD
+ ,
to open config file
config: {
// I like Source Code Pro, so I would like to change the font
fontFamily: 'Source Code Pro, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// Change the path to MSYS2
shell: 'C:\\Users\\chfa\\Development\\msys64\\usr\\bin\\bash.exe',
// for environment variables
env: {
TERM: 'msys', // Solve issue for vim and clear command not working properly on Windows
MSYS2_PATH_TYPE: 'inherit' // inherit environment variables from Windows
},
},
plugins: [
"hypercwd",
"hyper-highlight-active-pane",
"hyper-material-theme",
"hyper-search",
"hyper-tabs-enhanced",
"hyper-statusline",
],
Zsh - on all platforms
Zsh, also called the Z shell, is an extended version of the Bourne Shell (sh).
Zsh works on all platforms. I just like its theme and conveniency.
Why is a percent sign appearing before each prompt on zsh in Windows?
unsetopt PROMPT_SP
or
setopt PROMPT_CR
setopt PROMPT_SP
export PROMPT_EOL_MARK=""
To make this permanent, update your ~/.zshrc.
竟然无法拒绝你的打赏