How to setup terminal like mac/Linux on Windows | WSL | Windows Terminal | oh-my-zsh | powerlevel10k

Опубликовано: 21 Апрель 2020
на канале: Screens
27,345
351

Fully customize the new Windows Terminal and Ubuntu Terminal installed via WSL.
📄 Medium Post
  / web-development-setup-on-windows-wsl-ubunt...  

-----------------------------------------------------------------------------------------------------------------
As suggested by Roman Perepelitsa, a better approach would be changing above config to

POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_unique
POWERLEVEL9K_DIR_MAX_LENGTH=20

This will ensure the max length to 20, the default value is 80.
Also, adding a bidirectional alias for the mounted home directory as h, in the ~/.zshrc

hash -d h=/mnt/c/Users/diese