mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
added functions for YubiSwitch to toggle my key
This commit is contained in:
parent
71c84e1e17
commit
ce0f434051
1 changed files with 7 additions and 0 deletions
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue