# use custom ignores with this command:
#   GIT_WORK_TREE=$HOME GIT_DIR=$HOME/dotfiles.git \
#     git config --local core.excludesfile .gitignore.dotfiles
# *.a          - ignore all .a files
# !lib.a       - but do track lib.a, even though you're ignoring .a files above
# /TODO        - only ignore the TODO file in current dir, not subdir/TODO
# build/       - ignore all files in any directory named build
# doc/*.txt    - ignore doc/notes.txt, but not doc/server/arch.txt
# doc/**/*.pdf - ignore all .pdf files in doc/ dir and any of its subdirectories

# ignore everything by default.
*
# add back items as needed.
!git/
!git/**
*config-git
*config-local
*git/**/config.local
!.gitignore
!.gitmodules
!*.md
!*_ls_-1
!cargo_install_--list
!index.html
!install.sh
!justfile
!tools.html
# config
!.config/
!.config/*
# bin
!bin/
!bin/**
!aerc/
!aerc/**
!bash/
!bash/**
!bash/.local/
!bash/.local/share/bash-completion/
!bat/
!bat/**
!bookmark/
!bookmark/**
!bottom/
!bottom/**
!bp/
!bp/**
!btop/
!btop/**
!c/
!c/**
!caddy/
!caddy/**
!cheats/
!cheats/*
!colordiff/
!colordiff/**
!cron/
!cron/**
!ctags/
!ctags/**
!ctags/**/config.ctags
!curl/
!curl/**
!cvs/
!cvs/*
!datafiles/
!datafiles/**
!dbcli/
!dbcli/**
!dblab/
!dblab/**
!dircolors/
!dircolors/**
!dust/
!dust/**
!ed/
!ed/**
!editorconfig/
!editorconfig/**
!etc/
!etc/**
!fd/
!fd/**
!fennel/
!fennel/**
!figlet/
!figlet/**
!flr/
!flr/**
!fontconfig/
!fontconfig/**
!fselect/
!fselect/**
!gdb/
!gdb/**
!ghostty/
!ghostty/**
!glow/
!glow/**
!grc/
!grc/**
!helix/
!helix/**
!htop/
!htop/**
*/htoprc
!kak/
!kak/**
!kitty/
!kitty/**
!ksh/
!ksh/**
!less/
!less/**
!linux/
!linux/**
!***/linux/**
!lynx/
!lynx/**
!man/
!man/**
!man/**/*.1d
*man[013]p
*.1
!mdl/
!mdl/**
!minimal/
!minimal/**
!mpd/
!mpd/**
!mpv/
!mpv/**
!mutt/
!mutt/**
*/neomuttrc
!newsboat/
!newsboat/**
!npm/
!npm/**
!os/
!os/**
!pandoc/
!pandoc/**
!perl/
!perl/**
!pg/
!pg/**
!podman/
!podman/**
!procs/
!procs/**
!profanity/
!profanity/**
# profile
!profile/
!profile/.profile
!python/
!python/**
!readline/
!readline/**
*inputrc.local
!ripgrep/
!ripgrep/**
!rsync/
!rsync/**
!ruby/
!ruby/**
!rust/
!rust/**
!scripts/
!scripts/**
!senpai/
!senpai/**
# shell
!shell/
!shell/**
*aliases.local
!shellcheck/
!shellcheck/**
!skeleton/
!skeleton/**
# snippets
!snippets/
!snippets/**
!sqlite3/
!sqlite3/**
!systemd/
!systemd/**
!tidy/
!tidy/**
!tig/
!tig/**
!tldr/
!tldr/**
!tmux/
!tmux/**
!todo/
!todo/**
!tokei/
!tokei/**
!typos/
!typos/**
!uncrustify/
!uncrustify/**
!units/
!units/**
!urlview/
!urlview/**
# vim
!vim/
!vim/**
!vim/after/
!vim/autoload/
!vim/autoload/**
!vim/bundle/
!vim/bundle/**
!vim/doc/
!vim/doc/*.txt
***/vim/doc/
plugged/
***/vim/plugged/**
***/vim/sessions
***/vim/lists
*vimrc.local
*vimrc-extra
*session.vim
*.netrwhist
*plug.vim
*plug.vim.old
**add.spl
!w3m/
!w3m/**
!wezterm/
!wezterm/**
!wget/
!wget/**
!www/
!www/**
!yt-dlp/
!yt-dlp/**
# zsh
!zsh/
!zsh/**
*zsh/.config/zsh/.zfunc/
.zfunc/**
*.compdump*
*.zcompdump*
*.zwc
*.zwc.old
*.zwc*
*.zshrc.local

# macOS
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon


*.icloud
# uxn
*.rom
*.sym
*uxnasm
*uxncli
*uxnemu
# final
*.orig
*.out
#*cache
*cookie*
*state
*.BAK
*.db
*.pem
*.pid
*.env
*_history*
# re-ignore local files
#*.local
#local.*
#*.local/
#*.local.*
*.local/share/bash-completion/
*.local/share/bash-completion/**
*.local/share/fonts/
#*/.profile
*.profile
*tags
