sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install build-essential screenfetch zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Use this shell exec :
C:/Windows/System32/wsl.exe
with shell args[--exec]
(instead of bash.exe because you can't change default shell otherwise) - Use this font family :
Fira Code
(orOperator Mono powerfont patched
if you have it)
Hyper config shortcut : Ctrl + ,
- Fix some render issues in Hyper by setting
webGLRenderer: false,
- Add those plugins :
plugins: [
"hyper-material-theme",
"hyperpower",
"hyper-single-instance",
"hyper-tabs-enhanced"
],
chsh -s $(which zsh)
-
Select a Powerlevel9k theme and add corresponding settings in the config : https://github.com/Powerlevel9k/powerlevel9k/wiki/Show-Off-Your-Config (i usually use this one : https://github.com/da-edra/dotfiles/blob/master/.zshrc)
-
Install Powerlevel10k (because way more performant than P9K) :
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
-
Set
ZSH_THEME=powerlevel10k/powerlevel10k
in the config -
Disable P10K Wizard Config by adding this at the end :
POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true
-
To fix weird green background text color, add this at the end :
LS_COLORS="ow=01;36;40" && export LS_COLORS
-
Fix for VSCode Terminal
unsetopt BG_NICE
-
Add aliases to use correct versions of tools from Windows instead of Ubuntu :
alias hyper="cmd.exe /c hyper"
alias pip="cmd.exe /c pip"
alias python="cmd.exe /c python"
- Add system infos at the top when terminal is launched :
screenfetch
sudo chown -R my_username my_folder