current commit
260623.5 · gitignore: don't track my main syncthing directory in revision control
# Because I'm paranoid and because I want to see untracked files, I maintain
# an exhaustive gitignore list. This also makes searching my home directory
# with ripgrep convenient, since it won't descend into most directories.

# We start by un-ignoring all hidden files and directories. This way, hidden
# directories like `.config` will show up in ripgrep searches.
#
# This does mean that `.git` gets whitelisted, which isn't what we want. So we
# ignore it in `~/.ignore`.
!.*

# This is my syncthing directory.
/sync

# top-level hidden files/directories that we specifically ignore and skip over.
# It's annoying to maintain this list, but it's worth doing IMO. Because it
# lets us craft a small(ish) `$HOME` environment that works well with tools
# that respect `.gitignore` outside of `git`.
/.android
/.ansible
/.anyconnect
/.aws
/.babel.json
/.bash_history
/.bazel
/.cabal
/.cache
/.cargo
/.cddb
/.circleci
/.cisco
/.debug
/.docker
/.dotnet
/.dub
/.eclipse
/.emscripten_cache
/.falcon.*
/.fceux
/.fehbg
/.fontconfig
/.fzf*
/.ghcup
/.gist
/.gitconfig
/.git-old
/.gkrellm2
/.gmrun_history
/.gnome
/.gnupg
/.gnuplot_history
/.gox11
/.gradle
/.gsutil
/.helm
/.honu
/.honu.sqlite3
/.hushlogin
/.ICEauthority
/.isheadless
/.islaptop
/.islowerres
/.ismedia
/.iswork
/.java
/.k5login
/.kube
/.lesshst
/.local
/.m2
/.macromedia
/.minecraft
/.mozilla
/.msmtp.log
/.myhostname
/.node*
/.npm*
/.nuget
/.nv
/.nvimlog
/.o4
/.old
/.p2
/.p4enviro
/.p4tickets
/.p4trust
/.packse
/.parallel
/.password-store
/.pki
/.prism
/.psql_history
/.pyenv
/.pythonhist
/.python_history
/.pyx11
/.qgrep
/.raku
/.rpmdb
/.rustup
/.sane
/.sfdcEclipse-tmp
/.sfm
/.sqldeveloper
/.*.sqlite3.db
/.sqlite_history
/.ssr
/.stack
/.sudo*
/.swiftpm
/.swt
/.templateengine
/.terminfo
/.thumbnails
/.tig_history
/.tox
/.vault*
/.vcpkg
/.vim-cache
/.viminfo
/.vscode*
/.wine
/.wget*
/.wicd
/.wmWeatherReports
/.Xauthority
/.xbindkeysrc
/.xsel.log
/.yarnrc
/.zcompdump
/.zef
/.zoom
/.zsh
/.zsh_history
/.zsh_sessions

# top-level directories
/astral
/clones
/code
/data
/Desktop
/diffeo
/Downloads
/go
/man
/nas
/rust
/sf
/Sync
/tmp
/wallpaper
/work
/www

# Files we always want to ignore
.netrwhist

# Various other junk... Sigh.
/Corda
/sdb
/.DBcreds
/.bootstrap*
/.chatter
/.claude*
/.conda
/.curlrc.insecure
/apps
/blt
/logs
/tools
/.xmlresolver.org
/.tls
/.p4merge
/.p4qt
/.netrc
/.install4j_jre
/.jfrog
/.gimlet-home
/.sshcreds
/.solrcli.logs
/.perforce-install
/.smartbear
/jmeter.log
/.emulator_console_auth_token

# More junk and macOS shit.
/Documents
/Pictures
/Library
/Movies
/Music
/Public
/.CFUserTextEncoding

# Have no idea where this is coming from. WTF. I keep
# deleting it and something keeps putting it back. WHY.
/sym