diff --git a/assets/default/bin/mosh-vim-forward b/assets/default/bin/mosh-vim-forward new file mode 100755 index 0000000..a96d4d8 --- /dev/null +++ b/assets/default/bin/mosh-vim-forward @@ -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)" diff --git a/assets/default/bin/ssh-vim-forward b/assets/default/bin/ssh-vim-forward new file mode 100755 index 0000000..5645e9f --- /dev/null +++ b/assets/default/bin/ssh-vim-forward @@ -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)