From 43cf1140ade247cbaa616a91d88d01c288595438 Mon Sep 17 00:00:00 2001 From: Austen Date: Mon, 23 Jun 2014 22:53:55 -0400 Subject: [PATCH] Fixed tsh command. Added search and resource aliases in bashrc. Added autojump to desktop and server.txt. Readded vim bindings to tmux.conf --- bashrc | 4 +++- desktop.txt | 1 + server.txt | 1 + tmux.conf | 4 ++++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 07731cd..c41beb2 100644 --- a/bashrc +++ b/bashrc @@ -102,7 +102,7 @@ if ! shopt -oq posix; then fi PATH=$PATH:~/tmp/ucpp/ucpp/ function tsh(){ - ssh $* -t 'tmux a || tmux || /bin/bash' + ssh $* -t 'tmux a||wemux a||tmux;exit'&&clear } . /usr/share/autojump/autojump.sh [[ -s /home/stonewareslord/.autojump/etc/profile.d/autojump.sh ]] && source /home/stonewareslord/.autojump/etc/profile.d/autojump.sh @@ -147,7 +147,9 @@ if [ "$BASH" ]; then readonly HISTCONTROL fi +alias resource='. ~/.bashrc' alias install='sudo apt-get install' +alias search='sudo apt-cache search' alias remove='sudo apt-get remove' alias update='sudo apt-get update' alias upgrade='sudo apt-get upgrade' diff --git a/desktop.txt b/desktop.txt index 855efe9..ae75a63 100644 --- a/desktop.txt +++ b/desktop.txt @@ -60,6 +60,7 @@ gtk-redshift lm-sensors unetbootin openvpn +autojump #clemetine #IN STARTUP ITEMS: gtk-redshift -l 36.3:-80.3 -t 6500:4000 #sshfs stonewareslord@10.0.1.201:/var/www/ /mnt diff --git a/server.txt b/server.txt index 568fcdc..6c29646 100644 --- a/server.txt +++ b/server.txt @@ -30,3 +30,4 @@ alien lynx-cur lm-sensors openvpn +autojump diff --git a/tmux.conf b/tmux.conf index 781adf9..68fb7d1 100644 --- a/tmux.conf +++ b/tmux.conf @@ -14,6 +14,10 @@ set-option -g history-limit 50000 set -g prefix C-a bind C-a send-prefix unbind C-b +bind-key k select-pane -U +bind-key j select-pane -D +bind-key h select-pane -L +bind-key l select-pane -R bind-key H resize-pane -L 5 bind-key J resize-pane -D 5 bind-key K resize-pane -U 5