X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=bash%2F.bash_aliases;h=952029c6af8df02214836da349205b8f7d54534f;hb=931f09be7e7d09db5c26616096d285e9964b6c5e;hp=0bab62d6bfee2521bee9a74d7e77947efa7fcb1b;hpb=7d3857aacf6dcab081301f73777dd3488b4b272d;p=max%2Fdotfiles.git diff --git a/bash/.bash_aliases b/bash/.bash_aliases index 0bab62d..952029c 100644 --- a/bash/.bash_aliases +++ b/bash/.bash_aliases @@ -21,3 +21,13 @@ function la { fi } alias tmux='TERM=xterm-256color tmux' +if [ -x /usr/bin/gvim ]; then + alias vim='gvim -v' +fi + + +function ssh_in() { + i3-sensible-terminal -e \ + ssh -o RemoteCommand="/bin/sh -c 'tmux has-session && exec tmux attach || exec tmux'" \ + -t "$@" +}