Use env for forwarding envs to a mosh session

This commit is contained in:
ViViDboarder 2022-01-27 12:36:09 -08:00
parent 62d4d54ccc
commit 10badb018c

View File

@ -1,6 +1,3 @@
#! /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")"
mosh "$@" -- sh -c "env TERM_PROFILE=\"$TERM_PROFILE\" $(basename "$SHELL")"