detached 5529ae6

feat(configs): add installation configuration templates for bootloader, package manager and shell

commit
5529ae64b611bb05ed5c16ab5a70df174a5365a5
author
bnema · · 2025-10-26 09:42 UTC
parent
e1a1ab5
signature
unsigned
9 files · +144 -0
A install/configs/chaotic-aur.conf +14 -0
@@ -0,0 +1,14 @@
1+# Chaotic-AUR Repository Configuration
2+# This file contains configuration for Chaotic-AUR setup
3+
4+# GPG Key Configuration
5+CHAOTIC_KEY_ID=3056513887B78AEB
6+CHAOTIC_KEYSERVER=keyserver.ubuntu.com
7+
8+# Package URLs
9+CHAOTIC_KEYRING_URL=https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst
10+CHAOTIC_MIRRORLIST_URL=https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst
11+
12+# Repository Configuration
13+CHAOTIC_REPO_NAME=chaotic-aur
14+CHAOTIC_MIRRORLIST_PATH=/etc/pacman.d/chaotic-mirrorlist
@@ -0,0 +1,14 @@
1+# Chaotic-AUR Repository Configuration
2+# This file contains configuration for Chaotic-AUR setup
3+
4+# GPG Key Configuration
5+CHAOTIC_KEY_ID=3056513887B78AEB
6+CHAOTIC_KEYSERVER=keyserver.ubuntu.com
7+
8+# Package URLs
9+CHAOTIC_KEYRING_URL=https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst
10+CHAOTIC_MIRRORLIST_URL=https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst
11+
12+# Repository Configuration
13+CHAOTIC_REPO_NAME=chaotic-aur
14+CHAOTIC_MIRRORLIST_PATH=/etc/pacman.d/chaotic-mirrorlist
A install/configs/limine.conf.template +18 -0
@@ -0,0 +1,18 @@
1+timeout: {{TIMEOUT}}
2+default_entry: {{DEFAULT_ENTRY}}
3+interface_branding: {{BRANDING}}
4+interface_branding_colour: {{COLOR}}
5+graphics: yes
6+quiet: yes
7+
8+/Arch Linux
9+ protocol: linux
10+ path: boot():/vmlinuz-{{KERNEL}}
11+ cmdline: {{KERNEL_PARAMS}}
12+ module_path: boot():/initramfs-{{KERNEL}}.img
13+
14+/Arch Linux (fallback)
15+ protocol: linux
16+ path: boot():/vmlinuz-{{KERNEL}}
17+ cmdline: {{KERNEL_PARAMS}}
18+ module_path: boot():/initramfs-{{KERNEL}}-fallback.img
@@ -0,0 +1,18 @@
1+timeout: {{TIMEOUT}}
2+default_entry: {{DEFAULT_ENTRY}}
3+interface_branding: {{BRANDING}}
4+interface_branding_colour: {{COLOR}}
5+graphics: yes
6+quiet: yes
7+
8+/Arch Linux
9+ protocol: linux
10+ path: boot():/vmlinuz-{{KERNEL}}
11+ cmdline: {{KERNEL_PARAMS}}
12+ module_path: boot():/initramfs-{{KERNEL}}.img
13+
14+/Arch Linux (fallback)
15+ protocol: linux
16+ path: boot():/vmlinuz-{{KERNEL}}
17+ cmdline: {{KERNEL_PARAMS}}
18+ module_path: boot():/initramfs-{{KERNEL}}-fallback.img
A install/configs/shell/aliases +38 -0
@@ -0,0 +1,38 @@
1+# Eza aliases (modern ls replacement)
2+if command -v eza &> /dev/null; then
3+ alias ls='eza -lh --group-directories-first --icons=auto'
4+ alias lsa='ls -a'
5+ alias lt='eza --tree --level=2 --long --icons --git'
6+ alias lta='lt -a'
7+ alias ll='eza -l --icons=auto'
8+ alias la='eza -la --icons=auto'
9+fi
10+
11+# Bat + FZF integration
12+if command -v bat &> /dev/null && command -v fzf &> /dev/null; then
13+ alias ff="fzf --preview 'bat --style=numbers --color=always {}'"
14+fi
15+
16+# Bat aliases
17+if command -v bat &> /dev/null; then
18+ alias cat='bat --paging=never'
19+ alias less='bat'
20+fi
21+
22+# Fd alias (modern find replacement)
23+if command -v fd &> /dev/null; then
24+ alias find='fd'
25+fi
26+
27+# Directories
28+alias ..='cd ..'
29+alias ...='cd ../..'
30+alias ....='cd ../../..'
31+
32+# Git shortcuts
33+alias g='git'
34+alias gs='git status'
35+alias ga='git add'
36+alias gc='git commit'
37+alias gp='git push'
38+alias gl='git log --oneline --graph --decorate'
@@ -0,0 +1,38 @@
1+# Eza aliases (modern ls replacement)
2+if command -v eza &> /dev/null; then
3+ alias ls='eza -lh --group-directories-first --icons=auto'
4+ alias lsa='ls -a'
5+ alias lt='eza --tree --level=2 --long --icons --git'
6+ alias lta='lt -a'
7+ alias ll='eza -l --icons=auto'
8+ alias la='eza -la --icons=auto'
9+fi
10+
11+# Bat + FZF integration
12+if command -v bat &> /dev/null && command -v fzf &> /dev/null; then
13+ alias ff="fzf --preview 'bat --style=numbers --color=always {}'"
14+fi
15+
16+# Bat aliases
17+if command -v bat &> /dev/null; then
18+ alias cat='bat --paging=never'
19+ alias less='bat'
20+fi
21+
22+# Fd alias (modern find replacement)
23+if command -v fd &> /dev/null; then
24+ alias find='fd'
25+fi
26+
27+# Directories
28+alias ..='cd ..'
29+alias ...='cd ../..'
30+alias ....='cd ../../..'
31+
32+# Git shortcuts
33+alias g='git'
34+alias gs='git status'
35+alias ga='git add'
36+alias gc='git commit'
37+alias gp='git push'
38+alias gl='git log --oneline --graph --decorate'
A install/configs/shell/bashrc +8 -0
@@ -0,0 +1,8 @@
1+# All the default ArchUp aliases and functions
2+# (don't mess with these directly, just override them here!)
3+source ~/.local/share/archup/default/bash/rc
4+
5+# Add your own exports, aliases, and functions here.
6+#
7+# Make an alias for invoking commands you use constantly
8+# alias p='python'
@@ -0,0 +1,8 @@
1+# All the default ArchUp aliases and functions
2+# (don't mess with these directly, just override them here!)
3+source ~/.local/share/archup/default/bash/rc
4+
5+# Add your own exports, aliases, and functions here.
6+#
7+# Make an alias for invoking commands you use constantly
8+# alias p='python'
A install/configs/shell/envs +9 -0
@@ -0,0 +1,9 @@
1+# Bat configuration
2+if command -v bat &> /dev/null; then
3+ export BAT_THEME="TwoDark"
4+fi
5+
6+# FZF default options
7+if command -v fzf &> /dev/null && command -v bat &> /dev/null; then
8+ export FZF_DEFAULT_OPTS="--preview 'bat --color=always --style=numbers --line-range=:500 {}' --preview-window right:60%:wrap"
9+fi
@@ -0,0 +1,9 @@
1+# Bat configuration
2+if command -v bat &> /dev/null; then
3+ export BAT_THEME="TwoDark"
4+fi
5+
6+# FZF default options
7+if command -v fzf &> /dev/null && command -v bat &> /dev/null; then
8+ export FZF_DEFAULT_OPTS="--preview 'bat --color=always --style=numbers --line-range=:500 {}' --preview-window right:60%:wrap"
9+fi
A install/configs/shell/init +15 -0
@@ -0,0 +1,15 @@
1+# Starship prompt
2+if command -v starship &> /dev/null; then
3+ export STARSHIP_CONFIG="$HOME/.local/share/archup/default/starship.toml"
4+ eval "$(starship init bash)"
5+fi
6+
7+# Zoxide (smarter cd)
8+if command -v zoxide &> /dev/null; then
9+ eval "$(zoxide init bash)"
10+fi
11+
12+# FZF fuzzy finder
13+if command -v fzf &> /dev/null; then
14+ eval "$(fzf --bash)"
15+fi
@@ -0,0 +1,15 @@
1+# Starship prompt
2+if command -v starship &> /dev/null; then
3+ export STARSHIP_CONFIG="$HOME/.local/share/archup/default/starship.toml"
4+ eval "$(starship init bash)"
5+fi
6+
7+# Zoxide (smarter cd)
8+if command -v zoxide &> /dev/null; then
9+ eval "$(zoxide init bash)"
10+fi
11+
12+# FZF fuzzy finder
13+if command -v fzf &> /dev/null; then
14+ eval "$(fzf --bash)"
15+fi
A install/configs/shell/rc +5 -0
@@ -0,0 +1,5 @@
1+source ~/.local/share/archup/default/bash/shell
2+source ~/.local/share/archup/default/bash/init
3+source ~/.local/share/archup/default/bash/aliases
4+source ~/.local/share/archup/default/bash/envs
5+source ~/.local/share/archup/default/bash/functions
@@ -0,0 +1,5 @@
1+source ~/.local/share/archup/default/bash/shell
2+source ~/.local/share/archup/default/bash/init
3+source ~/.local/share/archup/default/bash/aliases
4+source ~/.local/share/archup/default/bash/envs
5+source ~/.local/share/archup/default/bash/functions
A install/configs/shell/shell +13 -0
@@ -0,0 +1,13 @@
1+# History control
2+shopt -s histappend
3+HISTCONTROL=ignoreboth
4+HISTSIZE=32768
5+HISTFILESIZE="${HISTSIZE}"
6+
7+# Bash completion (official recommendation from bash-completion project)
8+[[ $PS1 && ! ${BASH_COMPLETION_VERSINFO:-} && -f /usr/share/bash-completion/bash_completion ]] && \
9+ . /usr/share/bash-completion/bash_completion
10+
11+# Set complete path
12+export PATH="$HOME/.local/bin:$PATH"
13+set +h
@@ -0,0 +1,13 @@
1+# History control
2+shopt -s histappend
3+HISTCONTROL=ignoreboth
4+HISTSIZE=32768
5+HISTFILESIZE="${HISTSIZE}"
6+
7+# Bash completion (official recommendation from bash-completion project)
8+[[ $PS1 && ! ${BASH_COMPLETION_VERSINFO:-} && -f /usr/share/bash-completion/bash_completion ]] && \
9+ . /usr/share/bash-completion/bash_completion
10+
11+# Set complete path
12+export PATH="$HOME/.local/bin:$PATH"
13+set +h
A install/configs/shell/starship.toml +24 -0
@@ -0,0 +1,24 @@
1+# Arch-inspired blue color scheme
2+add_newline = true
3+
4+[username]
5+show_always = true
6+style_user = "fg:#87ceeb"
7+style_root = "fg:#ff6b8a"
8+format = "[$user]($style) "
9+
10+[hostname]
11+disabled = true
12+
13+[directory]
14+style = "fg:#e8f4f8"
15+format = "in [$path]($style) "
16+
17+[git_branch]
18+symbol = " "
19+style = "fg:#6bb6d6"
20+format = "on [$symbol$branch]($style) "
21+
22+[character]
23+success_symbol = '[❯](fg:#6bb6d6)'
24+error_symbol = '[✗](fg:#ff6b8a)'
@@ -0,0 +1,24 @@
1+# Arch-inspired blue color scheme
2+add_newline = true
3+
4+[username]
5+show_always = true
6+style_user = "fg:#87ceeb"
7+style_root = "fg:#ff6b8a"
8+format = "[$user]($style) "
9+
10+[hostname]
11+disabled = true
12+
13+[directory]
14+style = "fg:#e8f4f8"
15+format = "in [$path]($style) "
16+
17+[git_branch]
18+symbol = " "
19+style = "fg:#6bb6d6"
20+format = "on [$symbol$branch]($style) "
21+
22+[character]
23+success_symbol = '[❯](fg:#6bb6d6)'
24+error_symbol = '[✗](fg:#ff6b8a)'

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