🗃️ modified: bin/entrypoint-vim.sh 🗃️

This commit is contained in:
Jason 2022-07-06 07:15:10 -04:00
parent 010c19d217
commit 5e2accf77c
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F

View File

@ -25,13 +25,13 @@ trap 'exitCode=${exitCode:-$?};[ -n "$ENTRYPOINT_SH_TEMP_FILE" ] && [ -f "$ENTRY
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
__exec_bash() { [ -n "$1" ] && exec /bin/bash -l -c "${@:-bash}" || exec /bin/bash -l; } __exec_bash() { [ -n "$1" ] && exec /bin/bash -l -c "${@:-bash}" || exec /bin/bash -l; }
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CONFIG_DIR="$(ls -A /config/ 2>/dev/null | grep '^' || false)"
SHELL="${SHELL:-/bin/bash}" SHELL="${SHELL:-/bin/bash}"
VIMRC="${VIMRC:-$HOME/.vimrc}" VIMRC="${VIMRC:-$HOME/.vimrc}"
VIM_INDENT="${VIM_INDENT:-2}" VIM_INDENT="${VIM_INDENT:-2}"
TERM="${TERM:-xterm-256color}" TERM="${TERM:-xterm-256color}"
HOSTNAME="${HOSTNAME:-casjaysdev-vim}" HOSTNAME="${HOSTNAME:-casjaysdev-vim}"
TZ="${TZ:-America/New_York}" TZ="${TZ:-America/New_York}"
CONFIG_DIR="$(ls -A /config/ 2>/dev/null | grep '^' || false)"
export TZ HOSTNAME export TZ HOSTNAME
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[ -n "${TZ}" ] && echo "${TZ}" >/etc/timezone [ -n "${TZ}" ] && echo "${TZ}" >/etc/timezone