Add difftastic as git diff
This commit is contained in:
		
							parent
							
								
									dffe33e507
								
							
						
					
					
						commit
						9bd99e2794
					
				
					 5 changed files with 19 additions and 12 deletions
				
			
		|  | @ -34,8 +34,8 @@ alias grep='grep --color=auto' | ||||||
| alias grep-highlight='grep -e "^" -e' | alias grep-highlight='grep -e "^" -e' | ||||||
| 
 | 
 | ||||||
| alias hist-grep='history 0 | grep ' | alias hist-grep='history 0 | grep ' | ||||||
|  | alias http-server='python3 -m http.server' | ||||||
| 
 | 
 | ||||||
| alias icat="kitty +kitten icat" |  | ||||||
| alias ip='ip -c' | alias ip='ip -c' | ||||||
| 
 | 
 | ||||||
| alias j='jump' | alias j='jump' | ||||||
|  | @ -50,8 +50,6 @@ alias make='make -j5' | ||||||
| alias mkdir='mkdir -pv' | alias mkdir='mkdir -pv' | ||||||
| alias mv='mv -iv' | alias mv='mv -iv' | ||||||
| 
 | 
 | ||||||
| alias nixos-rebuild-tinker='sudo nixos-rebuild switch -p tinkering --no-build-nix' |  | ||||||
| 
 |  | ||||||
| alias pacman-autoremove='sudo pacman -Rns $(pacman -Qtdq)' | alias pacman-autoremove='sudo pacman -Rns $(pacman -Qtdq)' | ||||||
| alias pacman-autoremove-opts='sudo pacman -Rns $(pacman -Qttdq)' | alias pacman-autoremove-opts='sudo pacman -Rns $(pacman -Qttdq)' | ||||||
| alias ps-grep='ps aux | grep -v grep | grep' | alias ps-grep='ps aux | grep -v grep | grep' | ||||||
|  | @ -60,7 +58,6 @@ alias qutebrowser-kiosk='qutebrowser -B $XDG_DATA_HOME/qutebrowser-kiosk -C $XDG | ||||||
| 
 | 
 | ||||||
| alias rm='rm -I --one-file-system -v' | alias rm='rm -I --one-file-system -v' | ||||||
| 
 | 
 | ||||||
| alias sail='bash vendor/bin/sail' |  | ||||||
| alias sl='ls' | alias sl='ls' | ||||||
| alias sudo='sudo ' | alias sudo='sudo ' | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -27,6 +27,7 @@ export BEMENU_OPTS="--tb '#6272a4'\ | ||||||
|  --no-overlap\ |  --no-overlap\ | ||||||
|  -P '>' -p ''" |  -P '>' -p ''" | ||||||
| 
 | 
 | ||||||
|  | export DFT_DISPLAY="side-by-side-show-both" | ||||||
| export DMENU="bemenu" | export DMENU="bemenu" | ||||||
| export DOCKER_BUILDKIT=1 | export DOCKER_BUILDKIT=1 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -5,15 +5,21 @@ | ||||||
| [core] | [core] | ||||||
| 	excludesfile = ~/.config/git/ignore | 	excludesfile = ~/.config/git/ignore | ||||||
| 	editor = vim | 	editor = vim | ||||||
| 	pager = less |  | ||||||
| 	autocrlf = input | 	autocrlf = input | ||||||
| [help] | [help] | ||||||
| 	autocorrect = 20 | 	autocorrect = 20 | ||||||
|  | 
 | ||||||
| [diff] | [diff] | ||||||
| 	tool = vimdiff | 	tool = difftastic | ||||||
|  | 	external = difft | ||||||
| [difftool] | [difftool] | ||||||
| 	prompt = false | 	prompt = false | ||||||
| 	trustExitCode = true | [difftool "difftastic"] | ||||||
|  | 	cmd = difft "$LOCAL" "$REMOTE" | ||||||
|  | [pager] | ||||||
|  | 	difftool = true | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| [alias] | [alias] | ||||||
| 	b = branch -vv | 	b = branch -vv | ||||||
| 	ci = commit | 	ci = commit | ||||||
|  | @ -28,12 +34,10 @@ | ||||||
| 	lo = log --graph --decorate --oneline --all | 	lo = log --graph --decorate --oneline --all | ||||||
| 	s = status | 	s = status | ||||||
| 
 | 
 | ||||||
|  | [log] | ||||||
|  | 	date = iso | ||||||
| [merge] | [merge] | ||||||
| 	tool = vim_mergetool | 	conflictstyle = zdiff3 | ||||||
| 	conflictstyle = diff3 |  | ||||||
| [mergetool "vim_mergetool"] |  | ||||||
| 	cmd = vim -f -c "MergetoolStart" "$MERGED" "$BASE" "$LOCAL" "$REMOTE" |  | ||||||
| 	trustExitCode = true |  | ||||||
| [sendemail] | [sendemail] | ||||||
| 	smtpserver = mail.serguzim.me | 	smtpserver = mail.serguzim.me | ||||||
| 	smtpuser = tobias@msrg.cc | 	smtpuser = tobias@msrg.cc | ||||||
|  |  | ||||||
|  | @ -5,6 +5,8 @@ | ||||||
| 	home.packages = with pkgs; [ | 	home.packages = with pkgs; [ | ||||||
| 		asciinema # tool to record terminal sessions | 		asciinema # tool to record terminal sessions | ||||||
| 		bat # cat-alternative | 		bat # cat-alternative | ||||||
|  | 		cachix # tool to manage nix binary caches | ||||||
|  | 		difftastic # tool to compare files | ||||||
| 		direnv # tool to load custom environments | 		direnv # tool to load custom environments | ||||||
| 		docker-credential-helpers | 		docker-credential-helpers | ||||||
| 		doggo # dns client | 		doggo # dns client | ||||||
|  |  | ||||||
							
								
								
									
										3
									
								
								.config/nix/nix.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.config/nix/nix.conf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,3 @@ | ||||||
|  | experimental-features = nix-command flakes | ||||||
|  | substituters = https://cache.nixos.org https://hyprland.cachix.org https://devenv.cachix.org | ||||||
|  | trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc= devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw= | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue