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

7 lines
203 B
Bash
Executable File

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