This commit is contained in:
Gabriel Ebner 2014-07-28 16:08:02 +02:00
parent a12791803a
commit 4c5082690f
2 changed files with 7 additions and 0 deletions

View File

@ -69,3 +69,8 @@ test -x /usr/bin/lesspipe && eval `lesspipe`
test -x /usr/bin/vim && export EDITOR=/usr/bin/vim test -x /usr/bin/vim && export EDITOR=/usr/bin/vim
export MPD_HOST=127.0.0.1 MPD_PORT=6600 export MPD_HOST=127.0.0.1 MPD_PORT=6600
# passc
passc() {
pass show "$1" | (read i; cat; echo "$i" | xclip -l 1)
}

2
zshrc
View File

@ -18,6 +18,8 @@ alias gm=gm # graphicsmagick
alias l='ls -lha' alias l='ls -lha'
alias ar=ar alias ar=ar
compdef passc=pass
# History # History
setopt APPEND_HISTORY SHARE_HISTORY EXTENDED_HISTORY INC_APPEND_HISTORY \ setopt APPEND_HISTORY SHARE_HISTORY EXTENDED_HISTORY INC_APPEND_HISTORY \
HIST_IGNORE_ALL_DUPS HIST_FIND_NO_DUPS HIST_IGNORE_SPACE HIST_IGNORE_ALL_DUPS HIST_FIND_NO_DUPS HIST_IGNORE_SPACE