Skip to content

surjikal/dotfiles

Repository files navigation

dotfiles

screenshot

What is this?

This is a framework to manage your dotfiles. It is configured the way I like it. You should extend / edit this however you like.

Features

Installation

Install brew first. Then run:

git clone https://github.com/surjikal/dotfiles.git ~/.dotfiles && cd $_
brew bundle
stow zsh
exec zsh -l

Managing dotfiles

command description
dot edit dotfiles in vscode
dot <file> edit a specific dotfile, supports tab completion
reload reload the shell
ohshit escape hatch if shell is broken

Sample built-in aliases / functions

command description
ramdisk <size> mount RAM volume (defaults to 8GB)
serve <port> serve current dir (defaults to random port)
vpn_start starts your vpn
ssh_tunnel ssh_tunnel <src> <dest> <host>
gg git gui
gk gitk --all
gf git fetch --all

stow

Stow will symlink the contents of a directory into your home directory.

For example, there's a nano directory in this repo that contains a .nanorc. If you run stow nano, it will symlink ~/.dotfiles/nano/.nanorc to ~/.nanorc.

Run dot stow and edit the STOWED array to specify which dirs you want to stow on startup.

Links

Shoutouts to...

Releases

No releases published

Packages

No packages published