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

@@ -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/; }