Merge branch 'feature/minimal'

This commit is contained in:
Fabio Scotto di Santolo
2025-08-18 12:01:14 +02:00
12 changed files with 233 additions and 166 deletions

View File

@@ -1,13 +1,17 @@
# XDG Settings Basic
export XDG_CONFIG_HOME=${HOME}/.config
export XDG_DATA_HOME=${HOME}/.local/share
export XDG_CACHE_HOME=${HOME}/.local/cache
export XDG_STATE_HOME=${HOME}/.local/state
export DOTFILES="$HOME/.dotfiles"
export MANPAGER="nvim +Man!"
export EDITOR=nvim
export HELPDIR=/usr/share/zsh/"${ZSH_VERSION}"/help
export MISE_HOME=$HOME/.local/share/mise/installs
# fzf
export FZF_DEFAULT_COMMAND="fd --hidden --type file --strip-cwd-prefix --exclude .git"
export FZF_DEFAULT_COMMAND="fdfind --hidden --type file --strip-cwd-prefix --exclude .git"
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
export FZF_ALT_C_COMMAND="fd --hidden --type directory --strip-cwd-prefix --exclude .git"
export FZF_ALT_C_COMMAND="fdfind --hidden --type directory --strip-cwd-prefix --exclude .git"
# Export Catppuccin Mocha theme for FZF
export FZF_DEFAULT_OPTS=" \
--height 60% --layout=reverse --border \
@@ -17,8 +21,11 @@ export FZF_DEFAULT_OPTS=" \
--color=selected-bg:#45475A \
--color=border:#313244,label:#CDD6F4"
export FZF_TMUX_OPTS=" -p90%,70%"
export FZF_CTRL_T_OPTS="--preview 'bat --color=always -n --line-range :500 {}'"
export FZF_ALT_C_OPTS="--preview 'eza --tree --color=always {} | head -200'"
# Mise
if command -v mise >/dev/null 2>&1; then
eval "$(mise activate zsh)"
fi
# Golang
if command -v go >/dev/null 2>&1; then
@@ -31,10 +38,5 @@ if command -v java >/dev/null 2>&1; then
export JAVA_HOME="$(dirname $(mise bin-paths | grep -i java))"
fi
if command -v jmeter >/dev/null 2>&1; then
export JMETER_HOME="$(which jmeter)"
fi
# Python
export VIRTUAL_ENV_DISABLE_PROMPT=1