Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hskwakr/wsl-dotfiles
Configurations and tool installation scripts for Ubuntu 20.04.2 LTS on WSL2.
https://github.com/hskwakr/wsl-dotfiles
dotfiles wsl
Last synced: 2 months ago
JSON representation
Configurations and tool installation scripts for Ubuntu 20.04.2 LTS on WSL2.
- Host: GitHub
- URL: https://github.com/hskwakr/wsl-dotfiles
- Owner: hskwakr
- License: mit
- Created: 2021-06-04T01:25:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-22T17:26:44.000Z (over 2 years ago)
- Last Synced: 2024-07-30T21:04:41.541Z (5 months ago)
- Topics: dotfiles, wsl
- Language: Shell
- Homepage:
- Size: 247 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wsl-dotfiles
[![CI](https://github.com/hskwakr/wsl-dotfiles/actions/workflows/main.yml/badge.svg)](https://github.com/hskwakr/wsl-dotfiles/actions/workflows/main.yml)Configurations and tool installation scripts for Ubuntu 20.04 LTS on WSL2.
# Usage
I recommend testing with playgrounds before using this repository.### Install
Download this repo and make symlinks for dotfiles.
```sh
bash -c "$(curl -fsSL https://raw.githubusercontent.com/hskwakr/wsl-dotfiles/main/bin/install.sh)"
```
___Warning:___
This install script override `~/.gitconfig`. If you miss your original `.gitconfig`, you can find it from `~/.cache/dotfiles/default/`.### Init
Run tool installation scripts for Ubuntu 20.04 LTS.
```sh
cd ~/wsl-dotfiles && . .bashrc && \
./etc/init/build-tools.sh && . .bashrc && \
./etc/init/programming-runtime.sh && . .bashrc && \
./etc/init/package-manager.sh && . .bashrc && \
./etc/init/util-tools.sh && . .bashrc
```### Uninstall
Remove symlinks
```sh
cd ~ && ./wsl-dotfiles/bin/clean.sh && . .bashrc
```Remove symlinks and uninstall tools installed from init then remove dotfile repo on local.
```sh
cd ~ && ./wsl-dotfiles/bin/run-clean-scripts.sh && \
./wsl-dotfiles/bin/clean.sh && . .bashrc
```# My idea
___How to deal with Git line ending issues between Windows and WSL?___
I decide not to touch files on Windows from WSL and vice versa.