mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-22 02:06:30 +00:00
Add new bins for forwarding vim colors to remote shells
This commit is contained in:
parent
ae873dce7f
commit
784e229418
6
assets/default/bin/mosh-vim-forward
Executable file
6
assets/default/bin/mosh-vim-forward
Executable file
@ -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)"
|
6
assets/default/bin/ssh-vim-forward
Executable file
6
assets/default/bin/ssh-vim-forward
Executable file
@ -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
Block a user