about summary refs log tree commit diff
path: root/configs/shared/zsh/aliases.zsh
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-03-18T20·54+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-03-18T20·54+0000
commitbef7799f4b5ebd0dd374aba0419a09523e346041 (patch)
treecf812f93403085bb6a2a1ae9fda00ef7f39066a8 /configs/shared/zsh/aliases.zsh
parent51e123d84c0f715dda8492be1426b0649a593d73 (diff)
Support attach and detach aliases for tmux
As mentioned in the comments, prefer the <leader>d for detaching.
Diffstat (limited to 'configs/shared/zsh/aliases.zsh')
-rw-r--r--configs/shared/zsh/aliases.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/shared/zsh/aliases.zsh b/configs/shared/zsh/aliases.zsh
index 4322c861725a..f21302983e0c 100644
--- a/configs/shared/zsh/aliases.zsh
+++ b/configs/shared/zsh/aliases.zsh
@@ -38,6 +38,8 @@ alias na=nautilus # Gnome's graphical file browser. Useful to click and dragging
 
 # Tmux
 alias tls='tmux list-sessions'
+alias ta='tmux attach' # NOTE: `t` works for this as well
+alias td='tmux detach' # prefer using the KBD for this (i.e. <leader>d)
 
 # Chrome
 alias cssh='chrome --app-id=pnhechapfaindjhompbnflcldabbghjo' # Secure Shell