Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 11, 2022 02:52 pm GMT

My Windows, Debian (WSL2) Setup

Hi there,

thought as first post I write a small intro how I setup my
work environment fast and efficient, a computer should be IMHO very exchangeable, so it crashes, you buy a new, follow some steps sync your files from your cloud and continue working. Love WSL2, looking forward to try the Android Subsystem for Windows .. I still have some Proxmox server running. This just a part of my setup running terminator on wsl in X on Windows too, will update the repo over time.

Uploaded it to github files are there to download, Enjoy

https://github.com/wjk22/dotfiles-public

Windows

  1. Setup two users user/admin admin password protected, work only as normal user.

  2. Install Chocolatey - Windows App Installer and some basic apps

    choco install totalcommander powershell-core ditto imageglass everything git googlechrome firefox openvpn potplayer processhacker gsudo vscode vim wox wlc python3

  3. Install Total Commander Ultima Prime from https://www.tcup.pl/index.php/en/, buy a license from https://www.ghisler.com/ (
    This is imho the best file commander ever invented, please prove me wrong..)

  4. Install Netlimiter and buy a license - https://www.netlimiter.com/

  5. Install Windows Terminal or Windows Terminal Preview. Work as user, elevate with gsudo.

  6. Download and install these Fonts and set them as defaul in Windows Terminal

  7. Install Oh My Posh - Prompt Engine

  8. Install Terminal Icons - Folder and File Icons

  9. Install scoop a command line user installer
    Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
    scoop install curl

  10. Install z for Windows Powershell
    Install-Module -Name z

  11. Install WSL -> https://docs.microsoft.com/en-us/windows/wsl/install

  12. Install Debian from the Microsoft Store ..and change WSL to Version II

  13. Install Seafile if you use a seafile server, highly recommended, choco install seafile-client, I keep all
    my data in my own cloud encyrpted and on a backup drive.

  14. Install Macrium Reflect Free and backup your data every week at least ..

Linux (Debian in WSL2)

// I am old school I prefer zsh over fish ..

  1. Install zsh, tmux, htop, vim, mtr-tiny, curl, iptraf,git, tcpdump, mc // I use Debian so apt install ....

  2. Install Oh my ZSH,ZSH-Autosuggestion, enable plugins

.sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

  1. Install P10K from https://github.com/romkatv/powerlevel10k
    git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

  2. z for zsh - Z Directory jumper for ZSH

  3. Setup my tmux, I use old screen bindings Ctrl-a

  4. Install vscode from https://code.visualstudio.com/download

  5. Install NodeJS
    sudo curl -sL https://deb.nodesource.com/setup_17.x | sudo bash -

  6. sudo apt install sl ;)

Copy my template config files to the correct directories ..

Mac

hehe stopped using a mac two years ago :P

Stuff to try

eal opens aliases in vim and rereads aliases

Windows

Alt-space opens wox

Linux

Crlt-r in zsh searches in your history

Stuff to try

eal opens aliases in vim and rereads aliases

Windows

Alt-space opens wox

Linux

Crlt-r in zsh searches in your history

Links

Inspired to publish my version by Craftzdog
https://github.com/craftzdog/dotfiles-public#readme

... follow the white rabbit, no there is no spoon and may the force be with you ..

Wojciech Kalka [email protected]


Original Link: https://dev.to/wjk22/my-windows-debian-wsl2-setup-2g30

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To