From 9b5beaa493d1affa10b98ed2cf1c77401d736726 Mon Sep 17 00:00:00 2001 From: Yax <1949284+kianby@users.noreply.github.com> Date: Thu, 10 Jun 2021 08:31:20 +0200 Subject: [PATCH] tmux alias --- dot_bashrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dot_bashrc b/dot_bashrc index 478c9ea..0d4ff16 100644 --- a/dot_bashrc +++ b/dot_bashrc @@ -99,6 +99,9 @@ alias vi='/usr/bin/vim' alias serve="python3 -m $(python3 -c 'import sys; print("http.server" if sys.version_info[:2] > (2,7) else "SimpleHTTPServer")')" +alias ta='tmux attach' +alias tkill="for s in \$(tmux list-sessions | awk -F ':' '{print \$1}' | fzf); do tmux kill-session -t \$s; done;" + # ------------------------------------------------------------- # PYTHON # -------------------------------------------------------------