]> git.sev.monster Git - dotfiles.git/commitdiff
zprofile: print OKC if using okc-agent
authorsev <git@sev.monster>
Sat, 23 Mar 2024 06:30:52 +0000 (01:30 -0500)
committersev <git@sev.monster>
Fri, 5 Apr 2024 21:27:41 +0000 (16:27 -0500)
etc/zsh/.zprofile

index 5ead916d8ec93559a6fda4947c36f1fea262f19b..170f4de957381725506604436f8cc46078b5d547 100644 (file)
@@ -188,6 +188,7 @@ if [[ ! -v _sev_setup_ssh ]] {
             #      subshells can't be used to capture output and print.
             c='TMPDIR=$_sev_tmp ${okc}ssh-agent'
             if [[ -o interactive ]] {
+                [[ -n $okc ]] && echo -n 'OKC-'
                 eval $(eval $=c)
                 print -nP '%f'
             } else {
This page took 0.033657 seconds and 4 git commands to generate.