# Save this file as $HOME/.sshrc # This will take your vimrc in your .sshrc and use it for vim as # well as append any scripts in your .sshrc.d into your path on login echo "Hi $USER!" echo "You are on host $(hostname -f)" # use sshrc .vimrc instead of system export VIMINIT="let \$MYVIMRC='$SSHHOME/.sshrc.d/.vimrc' | source \$MYVIMRC" # Path edits # Add the $SSHHOME to the path export PATH=$PATH:$SSHHOME/.sshrc.d