a decent working guix config

This commit is contained in:
Chris Cochrun 2023-06-23 10:02:12 -05:00
parent ae77d05e2f
commit 0ebbec7644
22 changed files with 2302 additions and 279 deletions

13
.config/starship/init.sh Normal file
View file

@ -0,0 +1,13 @@
__main() {
local major="${BASH_VERSINFO[0]}"
local minor="${BASH_VERSINFO[1]}"
if ((major > 4)) || { ((major == 4)) && ((minor >= 1)); }; then
source <(/home/chris/.nix-profile/bin/starship init bash --print-full-init)
else
source /dev/stdin <<<"$(/home/chris/.nix-profile/bin/starship init bash --print-full-init)"
fi
}
__main
unset -f __main