From b9ce0288c13f853f66324fb814f31ff1c75fd26f Mon Sep 17 00:00:00 2001 From: juancwu Date: Wed, 4 Feb 2026 13:56:10 +0000 Subject: [PATCH] (bash,tmux) remove stmux --- bash/bashrc | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/bash/bashrc b/bash/bashrc index ffbe37e..09c6524 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -236,18 +236,6 @@ parse_git_branch() { git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' } -# Starts a new secure session with auto-wipe enabled -stmux() { - if [ -z "$GIT_KEY" ]; then - echo "Missing GIT_KEY environment variable." - return - fi - - ssh-agent sh -c "tmux new-session -s secure \ - \; set-hook client-detached \"run-shell 'SSH_AUTH_SOCK=\$SSH_AUTH_SOCK ssh-add -D'\" \ - \; send-keys \"ssh-add $GIT_KEY\" C-m" -} - export GOPATH=$HOME/go export PATH=$PATH:$GOPATH:$GOPATH/bin:/usr/local/go/bin export EDITOR=nvim