Skip to content

Commit 9c2e387

Browse files
committed
nix flow
Signed-off-by: Jess Frazelle <github@jessfraz.com>
1 parent 4d4858c commit 9c2e387

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.bash_prompt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
function set_win_title(){
33
echo -ne "\033]0; ${PWD} \007"
44
}
5+
# shellcheck disable=SC2034
56
starship_precmd_user_func="set_win_title"
67
STARSHIP_CONFIG="${HOME}/.config/starship.toml"
78
export STARSHIP_CONFIG

.functions

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,10 @@ restart_gpgagent(){
463463
kill -9 $(pgrep scdaemon) $(pgrep gpg-agent) >/dev/null 2>&1
464464
echo -e "\tgpg-agent: $(pgrep gpg-agent) | scdaemon: $(pgrep scdaemon)"
465465

466-
export GPG_TTY=$(tty)
467-
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
466+
GPG_TTY=$(tty)
467+
export GPG_TTY
468+
SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
469+
export SSH_AUTH_SOCK
468470
gpgconf --launch gpg-agent
469471
gpg-connect-agent updatestartuptty /bye > /dev/null
470472

@@ -549,5 +551,6 @@ cad_convert_rack_files_to_collada() {
549551

550552
uv_venv() {
551553
uv venv
554+
# shellcheck source=/dev/null
552555
source .venv/bin/activate
553556
}

0 commit comments

Comments
 (0)