panic commit

This commit is contained in:
Petr Nyc
2026-06-12 13:13:07 +02:00
parent 1d58a50839
commit 1bfd03226b
8 changed files with 608 additions and 63 deletions

16
.zshrc
View File

@@ -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