Skip to content

Some dotfiles for PuTTY, Git, some Linux tools and Vim.

License

Notifications You must be signed in to change notification settings

cferriter/dotfiles

Repository files navigation

Dotfiles

Installation

git clone https://github.com/cferriter/dotfiles.git ~/dotfiles
cd ~/dotfiles
./install.sh

Existing dotfiles are backed up in ~/dotfiles_old/.

Install and configure Windows components

Download and install WezTerm for Windows

  • Download WezTerm for Windows.
  • Install it.
  • It will be configured with settings from this repo later in the Kanata steps using create_win_symlinks.sh.

Install WSL

Open PowerShell and follow the below steps.

wsl --install -d Ubuntu

Enter a username and password.

sudo vim /etc/wsl.conf

Change default user to root. CTRL+D type the below to exit and restart WSL.

wsl --terminate Ubuntu
wsl

Follow Installation instructions in this README to set up the environment.

Install and configure Kanata for Windows

  • Download the latest kanata_gui.exe from kanata releases.
  • Move the binary to C:\Users\cianb\AppData\Roaming\kanata\kanata_gui.exe.
  • Run create_win_symlinks.sh to symlink kanata.kbd to the same location as kanata_gui.exe.
  • Open the Windows startup folder by pressing Windows + R and typing shell:common startup.
  • Create a shortcut for kanata_gui.exe in the Windows File Explorer and put it in the Windows startup folder.

Test installation of dotfiles

install.sh can be tested using Docker. Build and run with:

docker build -t dotfiles-test . && docker run -it dotfiles-test