diff --git a/bash/.bashrc b/bash/.bashrc index 73fac78..9db87c5 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -38,9 +38,6 @@ if [[ -x `which apt-get >/dev/null 2>&1` ]]; then HAS_APT=1 fi -if [[ -x `which gnome-shell >/dev/null 2>&1` ]]; then - HAS_GNOME=1 -fi # _ # _ __ _ __ ___ _ __ ___ _ __ | |_ @@ -197,8 +194,6 @@ alias pc='python -ic "from __future__ import division; from math import *"' # Start nano with line numbering no wrapping and autoindenting alias nano='nano -ciw ' -# shortcut for tmux command -alias tm="tmux new-session -A -s main" # emacsclient alias ec="emacsclient -n -c -a emacs" @@ -257,9 +252,15 @@ function archive-and-encrypt { } +# shortcut for tmux command +function tm { + tmux new-session -A -s main -x $(tput cols) -y $(tput lines) +} + + # run mosh and tmux to a specific host function mt { - mosh $1 -- tmux new-session -A -s main + mosh $1 -- tm }