detached 43e633b

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
22 if command -v bat &> /dev/null; then
3- export BAT_THEME="Bleu"
3+ export BAT_THEME="current"
44 fi
55
66 # FZF configuration
77 # Note: Do NOT add --preview to FZF_DEFAULT_OPTS as it breaks non-file operations
88 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"
1212 fi
1313
1414 # CTRL-T file/directory picker options
@@ -1,14 +1,14 @@
1-# Bat configuration1+# Bat configuration - use centralized theme symlink
2 if command -v bat &> /dev/null; then2 if command -v bat &> /dev/null; then
3- export BAT_THEME="Bleu"3+ export BAT_THEME="current"
4 fi4 fi
5 5
6 # FZF configuration6 # FZF configuration
7 # Note: Do NOT add --preview to FZF_DEFAULT_OPTS as it breaks non-file operations7 # Note: Do NOT add --preview to FZF_DEFAULT_OPTS as it breaks non-file operations
8 if command -v fzf &> /dev/null; then8 if command -v fzf &> /dev/null; then
9- # Source FZF Bleu theme if available9+ # Source FZF theme from centralized theme symlink
10- if [ -f "$HOME/.local/share/archup/current/theme/fzf/bleu.sh" ]; then10+ 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 fi12 fi
13 13
14 # CTRL-T file/directory picker options14 # 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
22 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"
44 eval "$(starship init bash)"
55 fi
66
@@ -1,6 +1,6 @@
1-# Starship prompt1+# Starship prompt - use centralized theme symlink
2 if command -v starship &> /dev/null; then2 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 fi5 fi
6 6

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 0

    ↑↓ moveenter openesc close