The directory

Nothing you can do before you enter the correct file directory

#home directory
cd ~/
# print work directory
pwd

checkout shells

cat /etc/shells 
chsh -s /bin/zsh

Proxy

#export: built-in utility of Linux Bash shell. 
#display all the exported environment 
export -p 
#proxy

proxy_http=username:password@proxy-host:port
export https_proxy=user:[email protected]:port
curl -v -x socks5://IP:port

#export is not working when using curl. You can add -c like
sh -c "$(curl -c HTTP_PROXY=user:[email protected]:port https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Oh-my-zsh

More doc is here

The powerline font is here

The fluentTerminal is here

The main steps in windows are as following:

  • Install WSL (Windows Subsystem for Linux)
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
  • Install Ubuntu for subsystem of windows
  • Install Fluent Terminal
  • Install Oh My ZSH

helpful plugins

  • zsh-autosuggestions->LINK
  • zsh-syntax-highlighting->LINK