diff --git a/aliases.fish b/aliases.fish index 80883cb..5b700e0 100644 --- a/aliases.fish +++ b/aliases.fish @@ -59,6 +59,9 @@ end # ─< weather >────────────────────────────────────────────────────────────────────────────── alias www="curl wttr.in/Ulm" +# ─< linutil >──────────────────────────────────────────────────────────────────────────── +alias linutil="curl -fsSL https://christitus.com/linux | sh" + # ─< telnet (starwars) >──────────────────────────────────────────────────────────────────── if command -v telnet >/dev/null 2>&1 alias starwars="telnet -a telehack.com" diff --git a/init/setup.fish b/init/setup.fish index 7a379c1..6de8792 100644 --- a/init/setup.fish +++ b/init/setup.fish @@ -234,11 +234,13 @@ end # ╰───────────────────────────────────────────────────────╯ function check_fishr - if test -e $HOME/.config/fish/.fishr.init + if command -v fisher >/dev/null 2>&1 fisher update else if test ! -e $HOME/.config/fish/functions/fisher.fish - 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 + curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source & fisher install jorgebucaran/fisher + fisher update end end end +check_fishr