#!/bin/bash
function ssh {
  # benennt das aktuelle tmux-windows nach dem ssh-ziel
  # baut ssh-verbindung auf
  if [ -n "${TMUX}" ]; then
    tmux rename-window "${@: -1}"
  fi
  command ssh "$@"
  if [ -n "${TMUX}" ]; then
    tmux rename-window "$(hostname -f)"
  fi
}

function gp {
  git pull "$@"
}