Initial commit

This commit is contained in:
marc
2022-10-02 20:33:40 +02:00
commit a1d321316c
30 changed files with 2492 additions and 0 deletions

View 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"
}

View File

@@ -0,0 +1,7 @@
[[ -x "$(command -v exa)" ]] && {
alias ll="exa --group-directories-first --color=auto --git -la"
} || {
alias ll="ls -alh --color=always --group-directories-first"
}
[[ -x "$(command -v bat)" ]] && alias cat="bat"