added functions for YubiSwitch to toggle my key

This commit is contained in:
Gene Liverman 2017-11-29 20:50:29 -08:00
parent 71c84e1e17
commit ce0f434051
No known key found for this signature in database
GPG key ID: 66D794FE7043CBCA

View file

@ -85,6 +85,13 @@ alias sz='source ~/.zshrc'
alias st='/Applications/SourceTree.app/Contents/MacOS/SourceTree &'
alias ykey='pkill gpg-agent && source ~/.zshrc; ssh-add -L'
function otpon() {
osascript -e 'tell application "yubiswitch" to KeyOn'
}
function otpoff() {
osascript -e 'tell application "yubiswitch" to KeyOff'
}
export EDITOR='vim'
export POWERLINE_CONFIG_COMMAND='/usr/local/bin/powerline-config'