1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-12-22 09:13: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 ~/.config/systemd/mpDris2.service: mpd/mpDris2.service
~/.profile: profile.sh ~/.profile: profile.sh
~/.ssh/config: ssh/config ~/.ssh/config: ssh/config
~/.ssh/config.d/github: ssh/config.d/github
~/.tmux.conf: tmux/tmux.conf ~/.tmux.conf: tmux/tmux.conf
~/.vimrc: vim/vimrc ~/.vimrc: vim/vimrc
~/.xinitrc: X11/xinitrc ~/.xinitrc: X11/xinitrc

View file

@ -19,6 +19,9 @@
[diff] [diff]
tool = vimdiff tool = vimdiff
[alias] [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 # Short Fancy Logs
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 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
lg = !"git lg1" 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; } addpath() { case ":${PATH:=$1}:" in *:$1:*) ;; *) PATH="$1:$PATH" ;; esac; }
# add ~/.local/bin to PATH # add ~/.local/bin to PATH
if [ -d "~/.local/bin" ] if [ -d "$HOME/.local/bin" ]
then then
addpath "~/.local/bin" addpath "$HOME/.local/bin"
fi fi
# add DOTFILES/bin to PATH # add DOTFILES/bin to PATH

View file

@ -1,10 +1,6 @@
# Include separate configs from ~/.ssh/config.d/ # Include separate configs from ~/.ssh/config.d/
Include ~/.ssh/config.d/* Include ~/.ssh/config.d/*
# Github
Host github.com
User git
# Defaults # Defaults
Host * Host *
IdentitiesOnly yes IdentitiesOnly yes

3
ssh/config.d/github Normal file
View file

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