a decent working guix config
This commit is contained in:
parent
ae77d05e2f
commit
0ebbec7644
22 changed files with 2302 additions and 279 deletions
13
.config/starship/init.sh
Normal file
13
.config/starship/init.sh
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue