bugfixing

This commit is contained in:
PieckA 2024-05-25 20:30:12 +02:00
parent 8210201ae7
commit d8d34e29a5

View file

@ -1,6 +1,7 @@
# ╭────────────────────────────────────╮ # ╭────────────────────────────────────╮
# │ FUNCTION: packagemanager detection │ # │ FUNCTION: packagemanager detection │
# ╰────────────────────────────────────╯ # ╰────────────────────────────────────╯
function upin function upin
# ─< check for sudo/root >────────────────────────────────────────────────────────────────── # ─< check for sudo/root >──────────────────────────────────────────────────────────────────
@ -173,8 +174,7 @@ end
function dep_fisher function dep_fisher
# ─< Define dependencies for the plugins used by fisher >─────────────────────────────────── # ─< Define dependencies for the plugins used by fisher >───────────────────────────────────
begin begin
set dependencies "fzf" "rg" set dependencies "fzf" "btop" "fastfetch" "curl" "wget" "cmatrix"
alias rg="ripgrep"
# ─< Check and install dependencies >─────────────────────────────────────────────────────── # ─< Check and install dependencies >───────────────────────────────────────────────────────
for dep in $dependencies for dep in $dependencies
if not command -v $dep >/dev/null 2>&1 if not command -v $dep >/dev/null 2>&1
@ -194,11 +194,9 @@ end
# │ FUNCTION: check for fisher and install if not present │ # │ FUNCTION: check for fisher and install if not present │
# ╰───────────────────────────────────────────────────────╯ # ╰───────────────────────────────────────────────────────╯
begin
function check_fishr function check_fishr
if test ! -e $HOME/.config/fish/functions/fisher.fish && test ! -e $HOME/.config/fish/.fishr.init if test ! -e $HOME/.config/fish/functions/fisher.fish && test ! -e $HOME/.config/fish/.fishr.init
echo "you did it!!"> $HOME/.config/fish/.fishr.init && curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher echo "you did it!!"> $HOME/.config/fish/.fishr.init && curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source & fisher install jorgebucaran/fisher
end
end end
end end