Skip to content

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

sudo dnf update -y
sudo dnf install -y git
git clone https://github.com/NonlinearFruit/dotfiles ~/projects/dotfiles
cd~/projects/dotfiles
./init.sh common | sh
./map.sh common | sh
./tools/tool-manager.nu install-manager cargo
source~/.bashrc
# Neovim
./tools/tool-manager.nu install-tool gcc
./tools/tool-manager.nu install-tool bob
bob use latest
source~/.bashrc
nvim
# Others
sudo dnf install -y tmux
./tools/tool-manager.nu install-tool z
./tools/tool-manager.nu install-tool fzf

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

Setting up for pairing

# Add ssh keys for the others to authorized keys
sudo dnf install -y tmux

Features

Configs

The actual dotfiles for various tools

Config
bash-aliases
bashrc
gitconfig
glide
nono
nvim
pi
termux
tmux
tools
vimrc
wezterm
wsl
Scripts

Helpful automation for various tasks

ScriptDemo
--demo
backup-repo
chat
clean-history
clip
cljuedemo
countdown
cuckoo
datediff
esvdemo
esv-search
gdocs
git-prompt
highlightdemo
ipsum
is
last-cron
look-alike
lsbdemo
matthew-henry-gatedemo
mob
mp3
neddemo
number-gossip
nvim-list-servers
nvim-plugins
nvims
open
open-nvim-from-windows
passphrase
profile-nvimdemo
reprint
ssh
stopwatch
sundays
tmux-clients-in-window
tmux-clones
tmux-rogues
to-me
to-vimgrep
toggle-pair
vdocs
who-is-smallest-of-them-all
whos-where
Setups

Automation for initializing a fresh OS

Setup
bootstrap
common
haskell
nvims
openscad
termux
tools
wsl
Mappings

Symlink any config file to any location

Mapping
common
termux
wsl

Formatting

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

Restarting

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

About

A simple repo that elegantly manages my configs and scripts.

Topics

Resources

Stars

12 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages