kinit alias

This commit is contained in:
Simonas Narbutas
2019-02-21 09:37:12 +01:00
parent 55207e8ed5
commit 57aeb4681a
2 changed files with 15 additions and 1 deletions

View File

@@ -5,6 +5,19 @@ Host narbuto.lt 192.168.178.100
AddKeysToAgent yes
IdentityFile ~/.ssh/id_rsa_home
Host mail.narbutas.it 116.203.70.29
User simas
PubKeyAuthentication yes
# UseKeychain yes
AddKeysToAgent yes
IdentityFile ~/.ssh/id_rsa_mail_epiphanius
Host git.narbuto.lt
User git
PubKeyAuthentication yes
AddKeysToAgent yes
IdentityFile ~/.ssh/id_rsa_backute_gitea
Host adm-gerrit-001 adm-gerrit-001.ams4.bolcom.net gerrit.internal.adm.bol.com gerrit.tools.bol.com
User snarbutas
Port 29418

View File

@@ -37,7 +37,7 @@ stty -ixon -ixoff
## Set a nice prompt
PROMPT='%F{red}[%F{blue}%*%F{red}]%f %F{yellow}bosman%f %F{magenta}[%f%B%F{magenta}%1~%f%b%F{magenta}]%f %(!.%F{red}.%F{green})≫ %f$(git_super_status) '
RPROMPT=$'%F{cyan}%*%f'
#RPROMPT=$'%F{cyan}%*%f'
## Set a nice remote prompt
YELLOW="\[\033[38;5;3m\]"
@@ -70,6 +70,7 @@ cdpath=(
alias ls='ls --color=auto'
alias simit='gopass bolcom/dc/snarbutas |kinit -p snarbutas@BOLCOM.NET'
## Add pastebin support
function Paste { curl -s -d "content='$(cat ${1})'&expire=6h" -o/dev/null -w "%{redirect_url}\n" http://go-paste.service.local:8080/; }