Zsh (Z shell), Bash (Bourne Again Shell), and sh (Bourne Shell) are popular command-line shells used on Unix-based systems.

Untitled

cat /etc/shells
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.

/bin/bash
/bin/csh
/bin/dash
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh
/opt/homebrew/bin/zsh

Todo:

  1. Learn Zsh
  2. Learn Warp

message from wrap

Untitled

Zsh (Z shell)

將 zsh 設定為預設 shell

brew install zsh
sudo sh -c "echo $(which zsh) >> /etc/shells" 
chsh -s $(which zsh)

~/.zshrc 一開啟 zsh 就會執行此內容,做為預設內容設定

zplug

https://github.com/zplug/zplug

zsh 插件管理,與 oh-my-zsh 相同,但較為輕量

export ZPLUG_HOME=$(brew --prefix)/opt/zplug
source $ZPLUG_HOME/init.zsh