shoestrap/assets/default/bin/mosh-vim-forward

7 lines
209 B
Plaintext
Raw Normal View History

#! /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")"