Tests / tests (push) Successful in 2m35s
- customize_airootfs.sh stages dots-hyprland at /opt, runs ./setup install-deps as a throwaway builder, harvests the built packages into /opt/localrepo so pacstrap resolves them offline - image ships its own [local-aur] (file:///opt/localrepo); CI and localrepo/update.sh keep that copy in sync; .gitignore covers work/, out/ and airootfs/opt/localrepo/ - alvin-install runs ./setup install --skip-alldeps on the target - clone pctrade/end4-pC into /etc/skel/.config/quickshell, patch qsConfig ii -> end4-pC in the staged variables.lua (guarded + idempotent), and restore the fork after setup rsync --delete's ~/.config/quickshell - ship user presets in skel, point fish `q` alias at end4-pC - AGENTS.md: document the fourth package source and new gotchas
34 lines
948 B
Fish
34 lines
948 B
Fish
# Commands to run in interactive sessions can go here
|
|
if status is-interactive
|
|
# No greeting
|
|
set fish_greeting
|
|
|
|
# Use starship
|
|
function starship_transient_prompt_func
|
|
starship module character
|
|
end
|
|
if test "$TERM" != "linux"
|
|
starship init fish | source
|
|
enable_transience
|
|
end
|
|
|
|
# Colors
|
|
if test -f ~/.local/state/quickshell/user/generated/terminal/sequences.txt
|
|
cat ~/.local/state/quickshell/user/generated/terminal/sequences.txt
|
|
end
|
|
|
|
# Aliases
|
|
# kitty doesn't clear properly so we need to do this weird printing
|
|
alias clear "printf '\033[2J\033[3J\033[1;1H'"
|
|
alias celar "printf '\033[2J\033[3J\033[1;1H'"
|
|
alias claer "printf '\033[2J\033[3J\033[1;1H'"
|
|
alias pamcan pacman
|
|
alias q 'qs -c end4-pC'
|
|
if test "$TERM" != "linux"
|
|
alias ls 'eza --icons'
|
|
end
|
|
if test "$TERM" = "xterm-kitty"
|
|
alias ssh 'kitten ssh'
|
|
end
|
|
end
|