Add starhip and update paru default options
This commit is contained in:
parent
62cdd539ea
commit
8e7de7e3b1
@ -16,14 +16,14 @@ DevelSuffixes = -git -cvs -svn -bzr -darcs -always -hg -fossil
|
|||||||
SudoLoop
|
SudoLoop
|
||||||
#AurOnly
|
#AurOnly
|
||||||
#BottomUp
|
#BottomUp
|
||||||
#RemoveMake
|
RemoveMake
|
||||||
#UseAsk
|
#UseAsk
|
||||||
#SaveChanges
|
#SaveChanges
|
||||||
#CombinedUpgrade
|
CombinedUpgrade
|
||||||
#CleanAfter
|
CleanAfter
|
||||||
#UpgradeMenu
|
#UpgradeMenu
|
||||||
#NewsOnUpgrade
|
NewsOnUpgrade
|
||||||
|
SkipReview
|
||||||
#LocalRepo
|
#LocalRepo
|
||||||
#Chroot
|
#Chroot
|
||||||
#Sign
|
#Sign
|
||||||
@ -37,6 +37,3 @@ SudoLoop
|
|||||||
#FileManager = vifm
|
#FileManager = vifm
|
||||||
#MFlags = --skippgpcheck
|
#MFlags = --skippgpcheck
|
||||||
#Sudo = doas
|
#Sudo = doas
|
||||||
|
|
||||||
[decman]
|
|
||||||
Url = https://github.com/kiviktnm/decman-pkgbuild/
|
|
29
dot_config/starship.toml
Normal file
29
dot_config/starship.toml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
add_newline = false
|
||||||
|
username.show_always = true
|
||||||
|
username.format = "[$user]($style)"
|
||||||
|
username.style_user = "white"
|
||||||
|
hostname.ssh_only = false
|
||||||
|
hostname.format = "[$ssh_symbol$hostname]($style)"
|
||||||
|
hostname.style = "white"
|
||||||
|
directory.truncate_to_repo = false
|
||||||
|
directory.format = "[$path]($style)[$read_only]($read_only_style)"
|
||||||
|
directory.style = "white"
|
||||||
|
character.success_symbol = "[\\$](green)"
|
||||||
|
character.error_symbol = "[\\$](red)"
|
||||||
|
time.disabled = false
|
||||||
|
time.format = "[$time]($style)"
|
||||||
|
time.style = "white"
|
||||||
|
git_branch.always_show_remote = true
|
||||||
|
git_branch.format = "[$symbol](bright-black)[$branch]($style)"
|
||||||
|
git_branch.style = "white"
|
||||||
|
git_commit.only_detached = false
|
||||||
|
git_commit.tag_disabled = false
|
||||||
|
git_commit.format = "[$hash$tag]($style)"
|
||||||
|
git_commit.style = "bright-black"
|
||||||
|
|
||||||
|
|
||||||
|
# A minimal left prompt
|
||||||
|
format = "[\\[](bright-black)$username[@](bright-black)$hostname $directory[\\]](bright-black)$character"
|
||||||
|
|
||||||
|
# move the rest of the prompt to the right
|
||||||
|
right_format = """$git_branch $git_commit $time"""
|
@ -21,7 +21,7 @@ alias grep="ugrep"
|
|||||||
alias cd="z"
|
alias cd="z"
|
||||||
alias cat="bat -p"
|
alias cat="bat -p"
|
||||||
alias update-mirrors="rate-mirrors arch | sudo tee /etc/pacman.d/mirrorlist; rate-mirrors chaotic-aur | sudo tee /etc/pacman.d/chaotic-mirrorlist"
|
alias update-mirrors="rate-mirrors arch | sudo tee /etc/pacman.d/mirrorlist; rate-mirrors chaotic-aur | sudo tee /etc/pacman.d/chaotic-mirrorlist"
|
||||||
alias update="paru; paru -c; flatpak update"
|
alias update="paru; flatpak update"
|
||||||
alias l="ls --ignore-glob '$([ -f .hidden ] && cat .hidden | tr '\n' '|')'"
|
alias l="ls --ignore-glob '$([ -f .hidden ] && cat .hidden | tr '\n' '|')'"
|
||||||
|
|
||||||
|
|
||||||
@ -29,3 +29,6 @@ alias l="ls --ignore-glob '$([ -f .hidden ] && cat .hidden | tr '\n' '|')'"
|
|||||||
# On github: https://github.com/k-yokoishi/zsh-prompt-generator
|
# On github: https://github.com/k-yokoishi/zsh-prompt-generator
|
||||||
PROMPT="[%n@%m %~]$ "
|
PROMPT="[%n@%m %~]$ "
|
||||||
RPROMPT="%?:%h | %*"
|
RPROMPT="%?:%h | %*"
|
||||||
|
|
||||||
|
# Starship after defining custom prompt, easy to remove
|
||||||
|
eval "$(starship init zsh)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user