update
This commit is contained in:
parent
09c6ec89f5
commit
16e773b6c8
1 changed files with 2 additions and 0 deletions
2
.zshrc
2
.zshrc
|
|
@ -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 () {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue