Attempted fix of tsh command

This commit is contained in:
Austen Adler 2014-07-05 11:32:53 -04:00
parent ca8b016b2e
commit cc443dcd78
2 changed files with 6 additions and 1 deletions

5
bashrc
View File

@ -102,7 +102,7 @@ if ! shopt -oq posix; then
fi fi
PATH=$PATH:~/tmp/ucpp/ucpp/ PATH=$PATH:~/tmp/ucpp/ucpp/
function tsh(){ function tsh(){
ssh $* -t 'tux||tmux a||wemux a||tmux;exit' ssh $* -t 'tux;exit'
} }
. /usr/share/autojump/autojump.sh . /usr/share/autojump/autojump.sh
[[ -s /home/stonewareslord/.autojump/etc/profile.d/autojump.sh ]] && source /home/stonewareslord/.autojump/etc/profile.d/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 if [ "$(uname)" != "Darwin" ] ; then
alias ls='ls --color=always -F' alias ls='ls --color=always -F'
fi fi
#TODO: Doesn't work yet
#alias ovim='vim +SessionOpen\\ $@'
#alias ogvim='gvim +SessionOpen\\ $@'
alias tmux='tmux -2' alias tmux='tmux -2'
alias less='less -r' alias less='less -r'
alias tree='tree -C' alias tree='tree -C'

2
vimrc
View File

@ -12,6 +12,8 @@ au VimResized * exe "normal! \<c-w>="
inoremap <expr><Tab> pumvisible() ? "\<C-n>" : "\<TAB>" inoremap <expr><Tab> pumvisible() ? "\<C-n>" : "\<TAB>"
imap <Expr>\ neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : pumvisible() ? "\<C-n>" : "\<TAB>" imap <Expr>\ neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : pumvisible() ? "\<C-n>" : "\<TAB>"
smap <Expr>\ neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>" smap <Expr>\ neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>"
"nnoremap <C-w>| <C-w>v
"nnoremap <C-w>- <C-w>s
nnoremap <F3> :!make&&echo "Uploading robot code";wput ./PPC603gnu/src/Debug/src.out ftp://frc:frc@10.20.59.2/ni-rt/system/FRC_UserProgram.out<CR> nnoremap <F3> :!make&&echo "Uploading robot code";wput ./PPC603gnu/src/Debug/src.out ftp://frc:frc@10.20.59.2/ni-rt/system/FRC_UserProgram.out<CR>
nnoremap G G$ nnoremap G G$
vnoremap G G$ vnoremap G G$