#!/bin/bash # --- vim --- export EDITOR=vim # source vimrc from cutom location during init export VIMINIT="source ${ENVRCD_PROFILE_PATH}/.vimrc" # MYVIMRC: is normally set to the location of the first found vimrc during init # but when we use VIMINIT to source vimrc, we need to set it manually export MYVIMRC="${ENVRCD_PROFILE_PATH}/.vimrc" # profile specific `.vim` directory path for use in `.vimrc` in envrcd export ENVRCD_VIM_PATH="${ENVRCD_PROFILE_PATH}/.vim"