chore: added starship and updated zsh
f73a8217
3 file(s) · +64 −1
| 32 | 32 | (".Xdefaults" ,%default-xdefaults))) |
|
| 33 | 33 | ||
| 34 | 34 | (service home-xdg-configuration-files-service-type |
|
| 35 | - | `(("gdb/gdbinit" ,%default-gdbinit) |
|
| 35 | + | `(("starship.toml" ,(local-file "starship/starship.toml")) |
|
| 36 | + | ("gdb/gdbinit" ,%default-gdbinit) |
|
| 36 | 37 | ("nano/nanorc" ,%default-nanorc)))) |
|
| 37 | 38 | ||
| 38 | 39 | %base-home-services))) |
| 1 | + | # format = """ |
|
| 2 | + | # [](#434C5E)\ |
|
| 3 | + | # $username\ |
|
| 4 | + | # [](bg:#4C566A fg:#434C5E)\ |
|
| 5 | + | # $directory\ |
|
| 6 | + | # [](fg:#4C566A bg:#5E81AC)\ |
|
| 7 | + | # $git_branch\ |
|
| 8 | + | # $git_status\ |
|
| 9 | + | # [](fg:#5E81AC bg:#2E3440)\ |
|
| 10 | + | # $character |
|
| 11 | + | # """ |
|
| 12 | + | # format = """ |
|
| 13 | + | # $username\ |
|
| 14 | + | # [](white)\ |
|
| 15 | + | # $directory\ |
|
| 16 | + | # [](white)\ |
|
| 17 | + | # $character\ |
|
| 18 | + | # $git_branch\ |
|
| 19 | + | # $git_status\ |
|
| 20 | + | # """ |
|
| 21 | + | ||
| 22 | + | format = """ |
|
| 23 | + | $character\ |
|
| 24 | + | $directory\ |
|
| 25 | + | $git_branch\ |
|
| 26 | + | $git_status\ |
|
| 27 | + | """ |
|
| 28 | + | ||
| 29 | + | ||
| 30 | + | # Disable the blank line at the start of the prompt |
|
| 31 | + | add_newline = true |
|
| 32 | + | ||
| 33 | + | # You can also replace your username with a neat symbol like to save some space |
|
| 34 | + | [username] |
|
| 35 | + | show_always = true |
|
| 36 | + | style_user = "white bold" |
|
| 37 | + | style_root = "white bold" |
|
| 38 | + | format = '[$user ]($style)' |
|
| 39 | + | ||
| 40 | + | [character] |
|
| 41 | + | success_symbol = " [](bold white)" |
|
| 42 | + | error_symbol = " [](bold red)" |
|
| 43 | + | vimcmd_symbol = " [](bold yellow)" |
|
| 44 | + | # vimcmd_replace_one_symbol = "◌" |
|
| 45 | + | # vimcmd_replace_symbol = "□" |
|
| 46 | + | # vimcmd_visual_symbol = "▼" |
|
| 47 | + | ||
| 48 | + | ||
| 49 | + | [directory] |
|
| 50 | + | format = "[ $path/ ]($style)" |
|
| 51 | + | style = "white" |
|
| 52 | + | truncation_length = 1 |
|
| 53 | + | truncation_symbol = "" |
|
| 54 | + | ||
| 55 | + | [git_branch] |
|
| 56 | + | symbol = "" |
|
| 57 | + | format = '[$symbol $branch]($style)' |
|
| 58 | + | ||
| 59 | + | [git_status] |
|
| 60 | + | format = ' [$all_status$ahead_behind]($style) ' |
| 154 | 154 | # alias keys='keysmasher' |
|
| 155 | 155 | # alias timestamp='node -e "process.stdout.write(new Date().toISOString())"' |
|
| 156 | 156 | alias e='emacsclient -nw' |
|
| 157 | + | alias ghr='guix home reconfigure ~/guix-dotfiles/home.scm' |
|
| 158 | + | alias gsr='sudo guix system reconfigure ~/guix-dotfiles/config.scm' |
|
| 157 | 159 | ||
| 158 | 160 | # ------------------------------------------- |
|
| 159 | 161 | # Suffix Aliases - Open Files by Extension |