Compare commits

...

2 Commits

Author SHA1 Message Date
e6522b7a0f fish: pikaur -> paru 2024-11-08 11:54:16 +02:00
e4ffb81e35 wal: update everforest theme 2024-11-08 11:53:47 +02:00
4 changed files with 24 additions and 4 deletions

View File

@ -0,0 +1,20 @@
function fish_prompt --description 'Informative prompt'
#Save the return status of the previous command
set -l last_pipestatus $pipestatus
set -lx __fish_last_status $status # Export for __fish_print_pipestatus.
if functions -q fish_is_root_user; and fish_is_root_user
printf '%s@%s %s%s%s# ' $USER (prompt_hostname) (set -q fish_color_cwd_root
and set_color $fish_color_cwd_root
or set_color $fish_color_cwd) \
(prompt_pwd) (set_color normal)
else
set -l status_color (set_color $fish_color_status)
set -l statusb_color (set_color --bold $fish_color_status)
set -l pipestatus_string (__fish_print_pipestatus "[" "]" "|" "$status_color" "$statusb_color" $last_pipestatus)
printf '[%s] %s%s@%s %s%s %s%s%s \n> ' (date "+%H:%M:%S") (set_color brblue) \
$USER (prompt_hostname) (set_color $fish_color_cwd) $PWD $pipestatus_string \
(set_color normal)
end
end

View File

@ -1,4 +1,4 @@
function p --wraps=pikaur --description 'alias p pikaur'
pikaur $argv
paru $argv
end

View File

@ -1,4 +1,4 @@
function yeet --wraps='pikaur -Rsn' --description 'alias yeet=pikaur -Rsn'
pikaur -Rsn $argv
paru -Rsn $argv
end

View File

@ -5,7 +5,7 @@
"cursor": "#4f5b58"
},
"colors": {
"color0": "#272e33",
"color0": "#343f44",
"color1": "#e67e80",
"color2": "#e69875",
"color3": "#dbbc7f",
@ -13,7 +13,7 @@
"color5": "#83c092",
"color6": "#7fbbb3",
"color7": "#d3c6aa",
"color8": "#232a2e",
"color8": "#4f585e",
"color9": "#e67e80",
"color10": "#e69875",
"color11": "#dbbc7f",