- dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
- dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
- REINICIE O COMPUTADOR
- wsl --set-default-version 2
- Instalar UBUNTU na Microsoft Store
-
sudo apt update -y
-
sudo apt upgrade -y
- sudo nano /etc/sudoers
- no final do arquivo digite
seu-username ALL=(ALL:ALL) NOPASSWD:ALL
- no final do arquivo digite
- sudo apt-add-repository ppa:fish-shell/release-3
- sudo apt update
- sudo apt install fish
- chsh -s /usr/bin/fish
- curl -sS https://starship.rs/install.sh | sh
// ~/.config/fish/config.fish
if status is-interactive
# Commands to run in interactive sessions can go here
end
set SPACEFISH_PROMPT_ADD_NEWLINE false
starship init fish | source
# Aliases
# alias cat="bat --theme=$(defaults read -globalDomain AppleInterfaceStyle &> /dev/null && echo default || echo GitHub)"
-
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
-
fisher install jorgebucaran/nvm.fish