Collection of configuration files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dotfiles/dot_config/git/ignore.tmpl

90 lines
1.8 KiB

{{ if eq .chezmoi.os "darwin" -}}
# Created by https://www.toptal.com/developers/gitignore/api/macOS
# Edit at https://www.toptal.com/developers/gitignore?templates=macOS
### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### macOS Patch ###
# iCloud generated files
*.icloud
# End of https://www.toptal.com/developers/gitignore/api/macOS
{{ else if eq .chezmoi.os "linux" -}}
# Created by https://www.toptal.com/developers/gitignore/api/Linux
# Edit at https://www.toptal.com/developers/gitignore?templates=Linux
### Linux ###
*~
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# KDE directory preferences
.directory
# Linux trash folder which might appear on any partition or disk
.Trash-*
# .nfs files are created when an open file is removed but is still being accessed
.nfs*
# End of https://www.toptal.com/developers/gitignore/api/Linux
{{ else if eq .chezmoi.os "windows" -}}
# Created by https://www.toptal.com/developers/gitignore/api/Windows
# Edit at https://www.toptal.com/developers/gitignore?templates=Windows
### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
# Folder config file
[Dd]esktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp
# Windows shortcuts
*.lnk
# End of https://www.toptal.com/developers/gitignore/api/Windows
{{ end -}}