mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-05 06:13:59 +01:00
9 lines
170 B
Fish
9 lines
170 B
Fish
function chezmoiupdate
|
|
if not bw login --check
|
|
set -x BW_SESSION (bw login --raw)
|
|
end
|
|
if not bw unlock --check
|
|
set -x BW_SESSION (bw unlock --raw)
|
|
end
|
|
chezmoi update
|
|
end
|