[zsh] Add quick helper to access the latest tmux sessions
This commit is contained in:
parent
beb7be42f0
commit
139ef7ac85
|
@ -132,10 +132,13 @@ function fzf-vm () {
|
|||
zle -N fzf-vm
|
||||
bindkey '\ev' fzf-vm
|
||||
|
||||
function ta () {
|
||||
function fzf-ta () {
|
||||
tmux attach $(tmux ls -F "#{session_name}" | fzf)
|
||||
}
|
||||
|
||||
zle -N fzf-ta
|
||||
bindkey '\et' fzf-ta
|
||||
|
||||
# Via @leahneukirchen
|
||||
autoload -Uz copy-earlier-word
|
||||
zle -N copy-earlier-word
|
||||
|
|
Loading…
Reference in New Issue