dotfiles
WSL
If WSL has not already been installed:
- Follow instructions here
- install windows terminal, edit settings to remove ctl-c and ctl-v bindings
- setup git credentials
git config --global credential.helper '/mnt/c/Program Files/git/mingw64/libexec/git-core/git-credential-manager.exe'
- Follow these instructions to get Arch
- install my standard packages:
pacman -S --needed $(comm -12 <(pacman -Slq | sort) <(sort pkglist.txt))
- Add sudo
useradd -m -G wheel -s /usr/sbin/zsh nick
- modify sudoers to include wheel group (by typing
visudo
), uncomment line near end
EDITOR=nvim visudo
- if you have configured the default user (per instructions above in boostrap), then relogin by closing the window and typing in powershell
wsl --terminate arch
and then start Arch again, you should be logged in as the configured user 7. install yay
- install foreign packages from list (may need to su to new user first)
yay -S --needed - < pkglist.txt
zsh
Add some handy scripts by symlinking the bin dir:
ln -nfs ~/dotfiles/bin ~/.local/bin
Instead of symlinking, just add the following line to ~/.zshrc:
source ~/dotfiles/zsh/zshrc
PATH="$PATH:$HOME/.local/bin
neovim
I've started using lazyvim. Config is done by editing files in ~/.config/nvim/lua/config/.lua. Plugins are loaded from files found in ~/.config/nvim/lua/plugins/.lua. To load the config, first get rid of any old configs:
mv ~/.config/nvim ~/.config/nvim.bak
mv ~/.local/share/nvim ~/.local/share/nvim.bak
Then symlink the new config:
ln -nfs ~/dotfiles/nvim ~/.config/nvim