This commit is contained in:
DeveloperDurp 2025-02-28 17:59:44 -06:00
parent e1c96bc1d2
commit 317c7d208d
16 changed files with 699 additions and 255 deletions

View file

@ -0,0 +1,23 @@
unlockbw ()
{
export BW_SESSION="$(bw unlock $(secret-tool lookup drive bitwarden) --raw)"
export GITLAB_TOKEN="$(bw get password cli-gitlab)"
export OLLAMA_TOKEN="$(bw get password cli-ollama-token)"
}
lockbw ()
{
unset BW_SESSION
unset GITLAB_TOKEN
unset OLLAMA_TOKEN
}
tmux-new () {
local -r name=${(U)1-"$(basename $(pwd))"}
tmux new-session -d -s $name
tmux switch-client -t $name
}
load-profile () {
ansible-playbook /home/user/.dotfiles/ansible/.config/ansible/local.yml -K
}