Added devenv and moved config files
This commit is contained in:
12
config/shell/sh/001-system-exports.sh
Normal file
12
config/shell/sh/001-system-exports.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}"
|
||||
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||
export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
|
||||
|
||||
# editor and vim
|
||||
[[ -n "$(command -v nvim)" ]] && {
|
||||
export EDITOR='nvim'
|
||||
export VISUAL='nvim'
|
||||
} || {
|
||||
export EDITOR="vim"
|
||||
export VISUAL="vim"
|
||||
}
|
||||
Reference in New Issue
Block a user