mirror of
https://github.com/chenasraf/dotfiles.git
synced 2026-05-17 17:28:07 +00:00
feat(tx): update aliases, named layouts
This commit is contained in:
@@ -1,5 +1,18 @@
|
||||
.config:
|
||||
projects_path: ~/Dev
|
||||
named_layouts:
|
||||
claude:
|
||||
cwd: .
|
||||
split:
|
||||
direction: h
|
||||
child:
|
||||
cwd: .
|
||||
cmd: claude
|
||||
split:
|
||||
direction: v
|
||||
child:
|
||||
cwd: .
|
||||
clock: true
|
||||
|
||||
general:
|
||||
root: ~/Dev
|
||||
|
||||
@@ -112,8 +112,9 @@ alias tas="tmux attach -t"
|
||||
alias tlw="tmux list-windows"
|
||||
alias trl="tmux source-file ~/.config/tmux/conf.tmux"
|
||||
alias trn="tmux rename-session -t"
|
||||
alias tk="trm"
|
||||
alias tks="tmux kill-server"
|
||||
alias tk="tx kill"
|
||||
alias trm="tx rm"
|
||||
alias txp="tx p"
|
||||
alias txa="tx c -s -l -r"
|
||||
alias tls="tx ls -s"
|
||||
|
||||
@@ -7,15 +7,3 @@ dir="${0:A:h}"
|
||||
for file in $dir/common/*.zsh; do
|
||||
source $file
|
||||
done
|
||||
|
||||
# Functions
|
||||
|
||||
# kill tmux session by name, or running session
|
||||
trm() {
|
||||
sess=$1
|
||||
if [[ -z $sess ]]; then
|
||||
tmux kill-session
|
||||
return $?
|
||||
fi
|
||||
tmux kill-session -t $sess
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user