Skip to content

A simple repo that elegantly manages my configs and scripts.

Notifications You must be signed in to change notification settings

NonlinearFruit/dotfiles

Repository files navigation

dotfiles icon

Dotfiles

GitHub workflow status

A simple repo that elegantly manages my configs and scripts using init.sh and map.sh

Setup on fresh OS

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

OS Specific Setup and Mappings

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

Features

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

Formatting

~/.local/share/nvim/mason/bin/stylua --verify . # Lua

Restarting

  • Throw away current nvim config
    rm ~/{.local/share,.config}/nvim/* -rf