mirror of
https://github.com/kastdeur/dotfiles.git
synced 2024-12-22 01:03: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
|
~/.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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
3
ssh/config.d/github
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# Github
|
||||||
|
Host github.com
|
||||||
|
User git
|
Loading…
Reference in a new issue