1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-12-21 16:53:33 +01:00

[ssh] moved github to config.d/

This commit is contained in:
Eric Teunis de Boone 2020-05-04 19:21:59 +02:00
parent a84a204031
commit 375c954e2b
5 changed files with 12 additions and 9 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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
View file

@ -0,0 +1,3 @@
# Github
Host github.com
User git