Skip to content

sagustavo/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

This is a repo for my main dotfiles used in my personal WSL 2 Ubuntu setup.

The file setup.sh installs the main development packages and technologies, as well as it configures the zsh shell.

If you wanna try it out, execute the following script using a non-root user:

# mind the fact that some of your dotfiles could be actually **entirely** replaced
bash -c "$(curl -fsSL https://raw.githubusercontent.com/gustavenrique/dotfiles/main/setup.sh)"

Once the setup script is executed, the powerful zsh can already be used with some cool features, such as:

  • Fast syntax highlighting
  • Auto suggestions
  • Powershell-like text editing

zsh

Besides that, a couple of programs will be installed, such as git, node, vim, docker, kubectl, fzf and others.

Feel free to use it and enjoy! 🙂


WSL2 Setup

If you'd like to install WSL 2 Ubuntu and it's using Windows 11, it can be easily done by pasting the following in your PowerShell:

wsl --update
wsl --set-default-version 2
wsl --install

After creating the Linux user, create the .wslconfig file:

# Limit the resources that Ubuntu can use
touch /mnt/c/Users/YOUR_WINDOWS_USER/.wslconfig
code /mnt/c/Users/YOUR_WINDOWS_USER/.wslconfig

Then configure the wsl resources limits like this

[wsl2]
memory=8GB
processors=4
swap=4GB

Now you can execute the setup.sh script.

About

My personal dotfiles

Topics

Resources

Stars

Watchers

Forks