mirror of
				https://github.com/kastdeur/dotfiles.git
				synced 2025-10-31 03:06:35 +01:00 
			
		
		
		
	[ssh] moved github to config.d/
This commit is contained in:
		
							parent
							
								
									a84a204031
								
							
						
					
					
						commit
						375c954e2b
					
				
					 5 changed files with 12 additions and 9 deletions
				
			
		|  | @ -20,6 +20,7 @@ | |||
|     ~/.config/systemd/mpDris2.service: mpd/mpDris2.service | ||||
|     ~/.profile: profile.sh | ||||
|     ~/.ssh/config: ssh/config | ||||
|     ~/.ssh/config.d/github: ssh/config.d/github | ||||
|     ~/.tmux.conf: tmux/tmux.conf | ||||
|     ~/.vimrc: vim/vimrc | ||||
|     ~/.xinitrc: X11/xinitrc | ||||
|  |  | |||
|  | @ -19,6 +19,9 @@ | |||
| [diff] | ||||
| 	tool = vimdiff | ||||
| [alias] | ||||
| lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | ||||
| lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n''          %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all | ||||
| lg = !"git lg1" | ||||
| 	# Short Fancy Logs | ||||
| 	lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | ||||
| 	lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n''          %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all | ||||
| 	lg = !"git lg1" | ||||
| 
 | ||||
| 	dif = diff | ||||
|  |  | |||
|  | @ -7,9 +7,9 @@ DOTFILES="$XDG_DOTFILES_DIR" | |||
| addpath() { case ":${PATH:=$1}:" in *:$1:*) ;; *) PATH="$1:$PATH" ;; esac; } | ||||
| 
 | ||||
| # add ~/.local/bin to PATH | ||||
| if [ -d "~/.local/bin" ] | ||||
| if [ -d "$HOME/.local/bin" ] | ||||
| then | ||||
| 	addpath "~/.local/bin" | ||||
| 	addpath "$HOME/.local/bin" | ||||
| fi | ||||
| 
 | ||||
| # add DOTFILES/bin to PATH | ||||
|  |  | |||
|  | @ -1,10 +1,6 @@ | |||
| # Include separate configs from ~/.ssh/config.d/ | ||||
| Include ~/.ssh/config.d/* | ||||
| 
 | ||||
| # Github | ||||
| Host github.com | ||||
| User git | ||||
| 
 | ||||
| # Defaults | ||||
| Host * | ||||
| IdentitiesOnly yes | ||||
|  |  | |||
							
								
								
									
										3
									
								
								ssh/config.d/github
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								ssh/config.d/github
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,3 @@ | |||
| # Github | ||||
| Host github.com | ||||
| User git | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue