Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rishavnandi/wsl_dotfiles

Collection of config files for my windows terminal and starship toml config files
https://github.com/rishavnandi/wsl_dotfiles

bash bash-script dotfiles hacktoberfest hacktoberfest-accepted hacktoberfest2022 hacktoberfest2023 powershell powershell-script theme windows-terminal windows-terminal-theme wsl wsl-ubuntu wsl2

Last synced: 2 months ago
JSON representation

Collection of config files for my windows terminal and starship toml config files

Awesome Lists containing this project

README

        

# Configs for my Windows Terminal, PowerShell Prompt, Bashrc/Fish and Starship Prompt configs as well.

## Usage

- Clone or download the repo

```powershell
git clone https://github.com/rishavnandi/wsl_dotfiles.git
```

- Ease the execution policy (Type into an admin powershell window)

```powershell
Set-ExecutionPolicy Unrestricted
```

- Open powershell as admin and navigate to the dotfiles folder and execute the script (Below command assumes you downloaded repo to downloads folder)

```powershell
cd .\Downloads\wsl_dotfiles\
.\auto_install.ps1
```

- Now run the script in your wsl instance (Below command assumes you downloaded repo to downloads folder)
- First make sure your user has ownership of all files and folders in the dotfiles folder

```bash
cd /home//
sudo chown -R .
```

```bash
cd /mnt/c/Users//Downloads/dotfiles/
chmod +x auto_config.sh
./auto_config.sh
```

- Harden the execution policy back to restricted (Type into an admin powershell window)

```powershell
Set-ExecutionPolicy Restricted
```

- That's it, you are done, make sure to install the nerd font which should be downloaded by the script in your downloads folder, you'll find all the other apps that need manual installation there as well.

## Config PATHS

- win_starship.toml -> C:\Users\risha\\.starship\starship.toml
- starship.lua -> C:\Users\risha\AppData\Local\clink\starship.lua
- winfetch.ps1 -> C:\Users\risha\\.config\winfetch\config.ps1

![image](https://github.com/rishavnandi/wsl_dotfiles/assets/101431112/1108297f-1cf5-4121-9258-e23e3dbee106)
![image](https://github.com/rishavnandi/wsl_dotfiles/assets/101431112/65aab98f-b94e-4b75-8cb8-6f19205ac0c6)