Simplify profile base env file
parent
c7efa4735c
commit
27204f11df
@ -1,7 +0,0 @@
|
||||
#shellcheck disable=SC2034
|
||||
BROWSER=firefox
|
||||
HISTCONTROL=ignoredups:erasedups:ignorespace
|
||||
HISTFILESIZE=
|
||||
HISTSIZE=
|
||||
MAN_DIR=${XDG_DATA_HOME}/man/man1
|
||||
PATH="${XDG_BIN_HOME}:${PATH}"
|
@ -0,0 +1,38 @@
|
||||
#shellcheck disable=SC2034
|
||||
BROWSER=firefox
|
||||
HISTCONTROL=ignoredups:erasedups:ignorespace
|
||||
HISTFILESIZE=
|
||||
HISTSIZE=
|
||||
MAN_DIR=${XDG_DATA_HOME}/man/man1
|
||||
PATH=${XDG_BIN_HOME}:${PATH}
|
||||
|
||||
{{ if lookPath "bat" -}}
|
||||
BAT_PAGER=never
|
||||
BAT_STYLE=plain
|
||||
BAT_THEME=zenburn
|
||||
MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
||||
{{ end -}}
|
||||
|
||||
{{ if eq .chezmoi.os "darwin" -}}
|
||||
CLICOLOR=1
|
||||
{{ end -}}
|
||||
|
||||
{{ if .hellotech -}}
|
||||
GOPRIVATE=github.com/HelloTech
|
||||
PULUMI_SKIP_UPDATE_CHECK=true
|
||||
{{ end -}}
|
||||
|
||||
{{ if and (lookPath "node") (stat (joinPath .chezmoi.homeDir ".config" "npm" "npmrc")) -}}
|
||||
NPM_CONFIG_USERCONFIG="${XDG_CONFIG_HOME}/npm/npmrc"
|
||||
{{ end -}}
|
||||
|
||||
{{ if lookPath "rg" -}}
|
||||
RIPGREP_CONFIG_PATH="${XDG_CONFIG_HOME}/ripgrep/config"
|
||||
{{ end -}}
|
||||
|
||||
{{ if or (lookPath "vim") (lookPath "nvim") -}}
|
||||
VIMINIT='source $XDG_CONFIG_HOME/vim/vimrc'
|
||||
MYVIMRC='$XDG_CONFIG_HOME/vim/vimrc'
|
||||
{{- end }}
|
||||
|
||||
# vim: filetype=sh
|
@ -1,7 +0,0 @@
|
||||
{{ if lookPath "bat" -}}
|
||||
#shellcheck disable=SC2034
|
||||
BAT_PAGER=never
|
||||
BAT_STYLE=plain
|
||||
BAT_THEME=zenburn
|
||||
MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
||||
{{- end }}
|
@ -1,4 +0,0 @@
|
||||
{{ if eq .chezmoi.os "darwin" -}}
|
||||
#shellcheck disable=SC2034
|
||||
CLICOLOR=1
|
||||
{{- end }}
|
@ -1,5 +0,0 @@
|
||||
{{ if .hellotech -}}
|
||||
# shellcheck disable=SC2034
|
||||
GOPRIVATE=github.com/HelloTech
|
||||
PULUMI_SKIP_UPDATE_CHECK=true
|
||||
{{- end }}
|
@ -1,6 +0,0 @@
|
||||
{{ if lookPath "node" -}}
|
||||
# shellcheck shell=bash
|
||||
#ft=sh
|
||||
# shellcheck disable=SC2034
|
||||
NPM_CONFIG_USERCONFIG="${XDG_CONFIG_HOME}/npm/npmrc"
|
||||
{{- end }}
|
@ -1,4 +0,0 @@
|
||||
{{ if lookPath "rg" -}}
|
||||
#shellcheck disable=SC2034
|
||||
RIPGREP_CONFIG_PATH="${XDG_CONFIG_HOME}/ripgrep/config"
|
||||
{{- end }}
|
@ -1,5 +0,0 @@
|
||||
{{ if or (lookPath "vim") (lookPath "nvim") -}}
|
||||
# shellcheck disable=SC2016,SC2034
|
||||
VIMINIT='source $XDG_CONFIG_HOME/vim/vimrc'
|
||||
MYVIMRC='$XDG_CONFIG_HOME/vim/vimrc'
|
||||
{{- end }}
|
Loading…
Reference in New Issue