Add new bins for forwarding vim colors to remote shells
This commit is contained in:
parent
ae873dce7f
commit
784e229418
|
@ -0,0 +1,6 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
# mosh-vim-forward forwards only the VIM_COLOR variable
|
||||||
|
# to a remote shell and attempts to provide a consistent
|
||||||
|
# shell experience
|
||||||
|
mosh $* -- sh -c "VIM_COLOR=$VIM_COLOR $(basename $SHELL)"
|
|
@ -0,0 +1,6 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
# ssh-vim-forward forwards only the VIM_COLOR variable
|
||||||
|
# to a remote shell and attempts to provide a consistent
|
||||||
|
# shell experience
|
||||||
|
ssh -t $* VIM_COLOR=$VIM_COLOR $(basename $SHELL)
|
Loading…
Reference in New Issue