summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2023-09-25 10:27:11 +0100
committerSean Whitton <spwhitton@spwhitton.name>2023-09-25 10:27:36 +0100
commit573fb7143346e89838b4b900cdf972e8e8166c5d (patch)
tree81a3e9eaabfbc4771d868b9886f00cdb37d1b6ac
parent431aea02e4d4b8181a1bea02c5dc7fe49931c032 (diff)
downloaddotfiles-573fb7143346e89838b4b900cdf972e8e8166c5d.tar.gz
add sshta shell alias
-rw-r--r--.shinit2
1 files changed, 2 insertions, 0 deletions
diff --git a/.shinit b/.shinit
index c4fe095d..342a2e01 100644
--- a/.shinit
+++ b/.shinit
@@ -26,6 +26,8 @@ alias grepcopy="grep --color=always -Eir '(copyright|©)' * | less -R"
alias dlp="lp -o sides=two-sided-long-edge"
alias arsync="rsync -aSHAXc --partial --numeric-ids --info=progress2"
alias axrsync="rsync -aSHAXxc --partial --numeric-ids --info=progress2"
+# To have a terminal emulator exit upon remote tmux detach, like my C-i s.
+alias sshta="exec ssh-and-tmux"
upenv () {
# don't want to do this outside of tmux as then tmux show-environment will