diff options
Diffstat (limited to 'zsh/.zshrc')
| -rw-r--r-- | zsh/.zshrc | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -181,6 +181,17 @@ function y() { rm -f -- "$tmp" } +function t() { + { + exec </dev/tty + exec <&1 + local session + session=$(sesh list -t -c | fzf --height 40% --reverse --border-label ' sesh ' --border --prompt '⚡ ') + [[ -z "$session" ]] && return + sesh connect $session + } +} + # Interactive cd function fcd() { @@ -203,4 +214,4 @@ esac # Bind ctrl-r but not up arrow eval "$(atuin init zsh --disable-up-arrow)" -. "/home/omar/.deno/env"
\ No newline at end of file +. "/home/omar/.deno/env" |
