Merge shell configs
parent
648edd2341
commit
f676b19741
@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
#ft=bash
|
||||
|
||||
if [[ -d "${XDG_DATA_HOME}/JetBrains/Toolbox/scripts" ]]; then
|
||||
if [[ ":${PATH}:" != *":${XDG_DATA_HOME}/JetBrains/Toolbox/scripts:"* ]]; then
|
||||
export PATH="${PATH}:${XDG_DATA_HOME}/JetBrains/Toolbox/scripts"
|
||||
fi
|
||||
fi
|
@ -1,12 +0,0 @@
|
||||
if [[ ${BASH_VERSION} != "3.2*" ]]; then
|
||||
shopt -s autocd
|
||||
fi
|
||||
|
||||
# append to the history file, don't overwrite it
|
||||
shopt -s histappend
|
||||
|
||||
# check the window size after each command and, if necessary,
|
||||
# update the values of LINES and COLUMNS.
|
||||
shopt -s checkwinsize
|
||||
|
||||
# vim: ft=bash
|
@ -1,15 +0,0 @@
|
||||
{{ if lookPath "rbenv" -}}
|
||||
# shellcheck shell=bash
|
||||
|
||||
if [ "${RBENV_SHELL}" = "" ]; then
|
||||
eval "$(rbenv init -)"
|
||||
fi
|
||||
{{ end }}
|
||||
{{- if lookPath "rvm" -}}
|
||||
if [[ -d "${HOME}/.rvm/bin" ]]; then
|
||||
# shellcheck disable=SC2076
|
||||
if [[ ! "${PATH}" =~ "${HOME}/.rvm/bin" ]]; then
|
||||
export PATH="$PATH:$HOME/.rvm/bin"
|
||||
fi
|
||||
fi
|
||||
{{- end }}
|
@ -1,3 +1,6 @@
|
||||
{{ if lookPath "helm" -}}
|
||||
eval "$(helm completion fish)"
|
||||
{{- end }}
|
||||
{{ if lookPath "erd" -}}
|
||||
eval "$(erd --completions fish)"
|
||||
{{- end }}
|
@ -1,6 +0,0 @@
|
||||
{{ if lookPath "helm" -}}
|
||||
# vim: ft=sh
|
||||
if command -v helm > /dev/null 2>&1; then
|
||||
eval "$(helm completion fish)"
|
||||
fi
|
||||
{{- end }}
|
Loading…
Reference in New Issue