GIT configuration

This commit is contained in:
2023-03-25 23:06:09 +01:00
parent 4296b53852
commit c439f19e18
3 changed files with 112 additions and 0 deletions

20
config/git/config Normal file
View File

@@ -0,0 +1,20 @@
[color]
ui = auto
[user]
name = Lionel Sambuc
email = lionel.sambuc@gmail.com
[merge]
tool = meld
[core]
editor = /usr/bin/vim
excludesfile = /Users/sambuc/.config/git/ignore
[push]
default = simple
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true

53
config/git/ignore Normal file
View File

@@ -0,0 +1,53 @@
# Ignore all generated files :
*.[oa]
*.tmp*
*.log
*.pyc
*.elf
*.cmd
*.dis
*.sym
*.bin
*.exe
# Backup files
*~
*~~
*.swp
*.old
*.orig
# MacOS files
# 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
# Hidden files
#.??* # Remove this comment in a project
# except the followings:
!.gitignore

39
config/i3status.conf Normal file
View File

@@ -0,0 +1,39 @@
general {
output_format = "none"
colors = true
interval = 5
}
order += "disk /"
order += "disk /local"
order += "disk /home"
order += "ethernet eth1"
order += "load"
order += "time"
ethernet eth1 {
# if you use %speed, i3status requires the cap_net_admin capability
#format_up = "E: %ip (%speed)"
format_up = "E: %ip"
format_down = "E: down"
}
time {
format = "%Y-%m-%d %H:%M:%S"
}
load {
format = "%1min %5min %15min"
}
disk "/" {
format = "root %avail"
}
disk "/local" {
format = "local %avail"
}
disk "/home" {
format = "home %avail"
}