a collection of my configuration files
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Vim Script 20.7%
PowerShell 4.5%
Shell 2.4%
Batchfile 1.9%
AutoHotkey 0.6%
Other 69.9%
61 1 0

Clone this repository

https://tangled.org/jnz.ski/dotfiles https://tangled.org/did:plc:xsrupao3btlzhjubtdskseua/dotfiles
git@tangled.org:jnz.ski/dotfiles git@tangled.org:did:plc:xsrupao3btlzhjubtdskseua/dotfiles

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

Download tar.gz
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

Oh My Posh#

Install-Module oh-my-posh -Scope CurrentUser
# see link for installation with scoop or winget

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'

Oh My Bash#

# install using curl
sh -c "$(curl -fsSL https://raw.github.com/ohmybash/oh-my-bash/master/tools/install.sh)"
# using wget
sh -c "$(wget https://raw.github.com/ohmybash/oh-my-bash/master/tools/install.sh -O -)"