~busykoala/_dotfiles

This Repository contains my dotfiles for an Ubuntu setup (within WSL2).
8977b354 — Matthias Osswald 1 year, 3 months ago
Make git work across drives.
92b7afd3 — Matthias Osswald 1 year, 3 months ago
Explicitely add Java 11 as JAVA_HOME.
4e839d5e — Matthias Osswald 1 year, 3 months ago
Add wsl2 mounting device alias (for D: to /mnt/d).

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~busykoala/_dotfiles
read/write
git@git.sr.ht:~busykoala/_dotfiles

You can also use your local clone with git send-email.

#_dotfiles

This Repository contains my dotfiles for an Ubuntu setup (within WSL2).

#How to setup

Set zsh as the default shell:

chsh -s /usr/bin/zsh

First check if the dependencies are installed!

The setup script will also symlink the vim config. Therefore first clone git@git.sr.ht:~busykoala/vim_config into home before executing the setup script.

Now lets run the linking script:

cd $HOME
git clone git@git.sr.ht:~busykoala/_dotfiles
cd dot@files
./setup

To improve file permission changes add these settings in /etc/wsl.conf:

[automount]
options = "metadata"

For GUI support install vcXsrv on Windows and add _dotfiles/resources/wsl_config.xlaunch to C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

#Dependencies

# apt packages in ./apt_pkg_list

# vim config
git clone git@git.sr.ht:~busykoala/vim_config ~/vim_config

# vim plug installer
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

# nodenv (node version manager)
git clone https://github.com/nodenv/nodenv.git ~/.nodenv

# pyenv (python version manager)
git clone https://github.com/pyenv/pyenv.git ~/.pyenv

# rbenv (ruby version manager)
git clone https://github.com/rbenv/rbenv.git ~/.rbenv

# fzf (fuzzy finder) - might add stuff to the config!
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install

# java

# yarn package manager
https://stackoverflow.com/a/47680012

# rust with rustup
curl https://sh.rustup.rs -sSf | sh -s -- -y