A simple repo that elegantly manages my configs and scripts using init.sh
and map.sh
Might need to sudo apt update && sudo apt upgrade
if some dependencies can not install
sudo apt update
sudo apt install -y git
git clone https://github.com/NonlinearFruit/dotfiles ~/projects/dotfiles
cd ~/projects/dotfiles
./init.sh common | sh
./map.sh common | sh
For configuration specific to a particular OS, create setup and mappings for it. For instance, if you have a setups/termux.sh
and a mappings/wsl.json
, then you can:
./init.sh common termux | sh
./map.sh common wsl | sh
Configs
The actual dotfiles for various tools
Config |
---|
bash-aliases |
bashrc |
gitconfig |
nvim |
termux |
tmux |
todo |
vimrc |
vivaldi |
wezterm |
Scripts
Helpful automation for various tasks
Script |
---|
backup-repo |
chat |
checkup |
clip |
countdown |
datediff |
esv |
esv-search |
highlight |
ipsum |
is |
last-cron |
look-alike |
nu-test |
number-gossip |
nvims |
passphrase |
pomodoro |
precisionvim |
rusty-link |
ssh |
stopwatch |
sundays |
tmux-clients-in-window |
tmux-clones |
tmux-rogues |
to-me |
toggle-pair |
view |
Setups
Automation for initializing a fresh OS
Setup |
---|
common |
csharp |
go |
haskell |
nvims |
openscad |
podman |
rust |
termux |
tools |
wsl |
Mappings
Symlink any config file to any location
Mapping |
---|
common |
termux |
wsl |
Cheatsheets
Custom TLDR pages
Cheatsheet |
---|
bash-notes |
cargo-watch |
dbeaver-mongo |
dotnet-format |
dotnet-outdated |
fzf-notes |
neotest |
neovim |
nerd-font-symbols |
nerd-fonts |
netrw |
null-ls |
nvim-dap |
podman-notes |
rust-notes |
telescope |
tmux-notes |
wezterm |
winget |
wsl2 |
~/.local/share/nvim/mason/bin/stylua --verify . # Lua
- Throw away current nvim config
rm ~/{.local/share,.config}/nvim/* -rf