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 upin
# ─< check for sudo/root >──────────────────────────────────────────────────────────────────
@ -173,8 +174,7 @@ end
function dep_fisher
# ─< Define dependencies for the plugins used by fisher >───────────────────────────────────
begin
set dependencies "fzf" "rg"
alias rg="ripgrep"
set dependencies "fzf" "btop" "fastfetch" "curl" "wget" "cmatrix"
# ─< Check and install dependencies >───────────────────────────────────────────────────────
for dep in $dependencies
if not command -v $dep >/dev/null 2>&1
@ -194,13 +194,11 @@ end
# │ FUNCTION: check for fisher and install if not present │
# ╰───────────────────────────────────────────────────────╯
begin
function check_fishr
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
# ────────────────────────────────────< setup some stuff >────────────────────────────────────
upin