This commit is contained in:
DeveloperDurp 2025-01-25 08:56:15 -06:00
parent 09c6ec89f5
commit 16e773b6c8

2
.zshrc
View file

@ -34,6 +34,7 @@ alias connectvpn='sudo openvpn ~/Documents/openvpn/openvpn.ovpn'
alias gc='git commit -a' alias gc='git commit -a'
alias gd='git diff' alias gd='git diff'
alias gp='git push' alias gp='git push'
alias bw='NODE_OPTIONS="--no-deprecation" bw --version'
if command -v tmux &> /dev/null && [[ "$TERMINAL_EMULATOR" == "JetBrains-JediTerm" ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then if command -v tmux &> /dev/null && [[ "$TERMINAL_EMULATOR" == "JetBrains-JediTerm" ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
cwd=$(pwd) cwd=$(pwd)
@ -183,6 +184,7 @@ EOF
tmux-new () { tmux-new () {
local -r name=${(U)1-"$(basename $(pwd))"} local -r name=${(U)1-"$(basename $(pwd))"}
tmux new-session -d -s $name tmux new-session -d -s $name
tmux switch-client -t $name
} }
load-profile () { load-profile () {