panic commit
This commit is contained in:
16
.zshrc
16
.zshrc
@@ -22,6 +22,7 @@ fi
|
||||
set -o vi
|
||||
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
ZSH_CUSTOM="${ZSH_CUSTOM:-$ZSH/custom}"
|
||||
if [[ "$_profile_terminal" == 1 ]]; then
|
||||
ZSH_THEME="powerlevel10k/powerlevel10k"
|
||||
else
|
||||
@@ -52,6 +53,7 @@ plugins=(
|
||||
urltools
|
||||
history
|
||||
aliases
|
||||
dircycle
|
||||
)
|
||||
|
||||
_profile_add_plugin() {
|
||||
@@ -189,6 +191,20 @@ if [[ -n ${commands[kubectl]} ]]; then
|
||||
fi
|
||||
|
||||
if [[ "$OSTYPE" == darwin* ]]; then
|
||||
|
||||
# add tokens to keychain:
|
||||
# security add-generic-password \
|
||||
# -a "$USER" \
|
||||
# -s "BITBUCKET_TOKEN" \
|
||||
# -w "<TOKEN>"
|
||||
# -U
|
||||
|
||||
keychain_token() {
|
||||
security find-generic-password -s "$1" -w
|
||||
}
|
||||
|
||||
export BITBUCKET_TOKEN=$(keychain_token BITBUCKET_TOKEN)
|
||||
|
||||
export LSCOLORS=gxfxbEaEBxxEhEhBaDaCaD
|
||||
export MANPAGER='col -bx | view -c ":set ft=man nonu nolist nomod nolist" -'
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user