- Download
Ubuntu 20.04 LTS
from Microsoft Store Turn Windows features on or off
checkWindows Subsystem for Linux
(on the bottom)
sudo apt install zsh -y
chsh -s $(which zsh)
sudo apt install git -y && sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
sudo apt update; sudo apt install python
sudo apt install build-essential procps curl file git exa autojump
- if they haven't fixed the brew install of exabrew install glab git-lfs exa helm elixir gh olets/tap/zsh-abbr powershell/tap/powershell rbenv ruby-build fzf
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
- https://github.com/romkatv/powerlevel10k/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- https://brew.sh/curl -sSf https://rye-up.com/get | bash
- https://rye-up.com/
Install-Module oh-my-posh -Scope CurrentUser
code $PROFILE
addImport-Module oh-my-posh
and (in next line)oh-my-posh --init --shell pwsh --config ~/jandedobbeleer.omp.json | Invoke-Expression
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
- https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf >
Double click
>Install
- Open Hyper → Edit → Preferences and change the value of
fontFamily
toMesloLGS NF
. - With Admin privilages:
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
choco install fzf
- https://www.powershellgallery.com/packages/PSFzf
- to $PROFILE
Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+t' -PSReadlineChordReverseHistory 'Ctrl+r' Set-PSReadLineKeyHandler -Key Tab -ScriptBlock { Invoke-FzfTabCompletion }
- PowerShell/PSReadLine#687 (comment)
- C:\Program Files\WindowsPowerShell\Modules\PSReadline\2.0.0
Set-PSReadLineKeyHandler -Key UpArrow -Function HistorySearchBackward
Set-PSReadLineKeyHandler -Key DownArrow -Function HistorySearchForward