refactor(theme-paths): use centralized themes/current symlink for shell configuration
- commit
- 43e633b13b07cb5ec0780ab2e9e3a7bd526d3861
- author
- bnema · · 2025-10-28 22:14 UTC
- committer
- bnema · · 2025-10-28 20:31 UTC
- parent
- 0f21d5d
- signature
- unsigned
2 files · +7 -7
M install/configs/shell/envs +5 -5
| @@ -1,14 +1,14 @@ | |||
| 1 | - | # Bat configuration | |
| 1 | + | # Bat configuration - use centralized theme symlink | |
| 2 | 2 | if command -v bat &> /dev/null; then | |
| 3 | - | export BAT_THEME="Bleu" | |
| 3 | + | export BAT_THEME="current" | |
| 4 | 4 | fi | |
| 5 | 5 | ||
| 6 | 6 | # FZF configuration | |
| 7 | 7 | # Note: Do NOT add --preview to FZF_DEFAULT_OPTS as it breaks non-file operations | |
| 8 | 8 | if command -v fzf &> /dev/null; then | |
| 9 | - | # Source FZF Bleu theme if available | |
| 10 | - | if [ -f "$HOME/.local/share/archup/current/theme/fzf/bleu.sh" ]; then | |
| 11 | - | source "$HOME/.local/share/archup/current/theme/fzf/bleu.sh" | |
| 9 | + | # Source FZF theme from centralized theme symlink | |
| 10 | + | if [ -f "$HOME/.local/share/archup/themes/current/fzf.sh" ]; then | |
| 11 | + | source "$HOME/.local/share/archup/themes/current/fzf.sh" | |
| 12 | 12 | fi | |
| 13 | 13 | ||
| 14 | 14 | # CTRL-T file/directory picker options | |
| @@ -1,14 +1,14 @@ | |||||
| 1 | - | # Bat configuration | 1 | + | # Bat configuration - use centralized theme symlink |
| 2 | if command -v bat &> /dev/null; then | 2 | if command -v bat &> /dev/null; then | ||
| 3 | - | export BAT_THEME="Bleu" | 3 | + | export BAT_THEME="current" |
| 4 | fi | 4 | fi | ||
| 5 | 5 | ||||
| 6 | # FZF configuration | 6 | # FZF configuration | ||
| 7 | # Note: Do NOT add --preview to FZF_DEFAULT_OPTS as it breaks non-file operations | 7 | # Note: Do NOT add --preview to FZF_DEFAULT_OPTS as it breaks non-file operations | ||
| 8 | if command -v fzf &> /dev/null; then | 8 | if command -v fzf &> /dev/null; then | ||
| 9 | - | # Source FZF Bleu theme if available | 9 | + | # Source FZF theme from centralized theme symlink |
| 10 | - | if [ -f "$HOME/.local/share/archup/current/theme/fzf/bleu.sh" ]; then | 10 | + | if [ -f "$HOME/.local/share/archup/themes/current/fzf.sh" ]; then |
| 11 | - | source "$HOME/.local/share/archup/current/theme/fzf/bleu.sh" | 11 | + | source "$HOME/.local/share/archup/themes/current/fzf.sh" |
| 12 | fi | 12 | fi | ||
| 13 | 13 | ||||
| 14 | # CTRL-T file/directory picker options | 14 | # CTRL-T file/directory picker options | ||
M install/configs/shell/init +2 -2
| @@ -1,6 +1,6 @@ | |||
| 1 | - | # Starship prompt | |
| 1 | + | # Starship prompt - use centralized theme symlink | |
| 2 | 2 | if command -v starship &> /dev/null; then | |
| 3 | - | export STARSHIP_CONFIG="$HOME/.local/share/archup/default/starship.toml" | |
| 3 | + | export STARSHIP_CONFIG="$HOME/.local/share/archup/themes/current/starship.toml" | |
| 4 | 4 | eval "$(starship init bash)" | |
| 5 | 5 | fi | |
| 6 | 6 | ||
| @@ -1,6 +1,6 @@ | |||||
| 1 | - | # Starship prompt | 1 | + | # Starship prompt - use centralized theme symlink |
| 2 | if command -v starship &> /dev/null; then | 2 | if command -v starship &> /dev/null; then | ||
| 3 | - | export STARSHIP_CONFIG="$HOME/.local/share/archup/default/starship.toml" | 3 | + | export STARSHIP_CONFIG="$HOME/.local/share/archup/themes/current/starship.toml" |
| 4 | eval "$(starship init bash)" | 4 | eval "$(starship init bash)" | ||
| 5 | fi | 5 | fi | ||
| 6 | 6 | ||||