a collection of my configuration files
PowerShell 18.1%
Vim Script 15.9%
Batchfile 5.9%
AutoHotkey 2.6%
Shell 2.6%
Other 54.8%
118 1 0

Clone this repository

https://tangled.org/jnz.ski/dotfiles
git@tangled.org:jnz.ski/dotfiles

For self-hosted knots, clone URLs may differ based on your setup.

README.md

dotfiles#

A repository of my configuration files

Windows#

WSL#

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

WSL2 Kernel update package for x64

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
wsl --set-default-version 2

Share SSH keys between Windows and WSL

cp -r /mnt/c/Users/<username>/.ssh ~/.ssh
# fix permissions
chmod 600 ~/.ssh/id_rsa

Chocolatey#

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

Scoop#

Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')

# or shorter
iwr -useb get.scoop.sh | iex

Note: if you get an error you might need to change the execution policy (i.e. enable Powershell) with

Set-ExecutionPolicy RemoteSigned -scope CurrentUser

Fonts#

Meslo Nerd Font patched for Powerlevel10k

Vim Plug#

Installation

Vim

iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`
    ni $HOME/vimfiles/autoload/plug.vim -Force

NeoVim

iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`
    ni "$(@($env:XDG_DATA_HOME, $env:LOCALAPPDATA)[$null -eq $env:XDG_DATA_HOME])/nvim-data/site/autoload/plug.vim" -Force

Linux#

Vim Plug#

Installation

Vim

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

NeoVim

sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
       https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'