From cc443dcd7818c49ec9ed20cbe2ba9156fbcf3707 Mon Sep 17 00:00:00 2001 From: Austen Date: Sat, 5 Jul 2014 11:32:53 -0400 Subject: [PATCH] Attempted fix of tsh command --- bashrc | 5 ++++- vimrc | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bashrc b/bashrc index c203042..96863ac 100644 --- a/bashrc +++ b/bashrc @@ -102,7 +102,7 @@ if ! shopt -oq posix; then fi PATH=$PATH:~/tmp/ucpp/ucpp/ function tsh(){ - ssh $* -t 'tux||tmux a||wemux a||tmux;exit' + ssh $* -t 'tux;exit' } . /usr/share/autojump/autojump.sh [[ -s /home/stonewareslord/.autojump/etc/profile.d/autojump.sh ]] && source /home/stonewareslord/.autojump/etc/profile.d/autojump.sh @@ -119,6 +119,9 @@ complete -cf sudo man if [ "$(uname)" != "Darwin" ] ; then alias ls='ls --color=always -F' fi +#TODO: Doesn't work yet +#alias ovim='vim +SessionOpen\\ $@' +#alias ogvim='gvim +SessionOpen\\ $@' alias tmux='tmux -2' alias less='less -r' alias tree='tree -C' diff --git a/vimrc b/vimrc index e07343d..5f8819e 100644 --- a/vimrc +++ b/vimrc @@ -12,6 +12,8 @@ au VimResized * exe "normal! \=" inoremap pumvisible() ? "\" : "\" imap \ neosnippet#expandable_or_jumpable() ? "\(neosnippet_expand_or_jump)" : pumvisible() ? "\" : "\" smap \ neosnippet#expandable_or_jumpable() ? "\(neosnippet_expand_or_jump)" : "\" +"nnoremap | v +"nnoremap - s nnoremap :!make&&echo "Uploading robot code";wput ./PPC603gnu/src/Debug/src.out ftp://frc:frc@10.20.59.2/ni-rt/system/FRC_UserProgram.out nnoremap G G$ vnoremap G G$