|
|
@@ -132,6 +132,7 @@ if status is-interactive # Commands to run in interactive sessions can go here |
|
|
|
|
|
|
|
# OS specific |
|
|
|
if test (uname) = Linux # Linux 🐧 |
|
|
|
# nala https://gitlab.com/volian/nala |
|
|
|
if command --query nala; # Debian-like 🌀 |
|
|
|
and abbr --add i doas nala install |
|
|
|
and abbr --add p doas nala purge |
|
|
@@ -142,6 +143,7 @@ if status is-interactive # Commands to run in interactive sessions can go here |
|
|
|
and abbr --add p sudo apt purge |
|
|
|
and abbr --add s apt search |
|
|
|
and abbr --add u 'sudo apt update; and sudo apt upgrade' |
|
|
|
# pkg https://wiki.termux.com/wiki/Package_Management |
|
|
|
if test (uname --operating-system) = Android; and command --query pkg # Android 🤖 |
|
|
|
and abbr --add i pkg install |
|
|
|
and abbr --add p pkg uninstall --purge |
|
|
@@ -158,7 +160,7 @@ if status is-interactive # Commands to run in interactive sessions can go here |
|
|
|
echo 'Unknown Linux 🐧' |
|
|
|
end |
|
|
|
|
|
|
|
# Homebrew 🍺 |
|
|
|
# Homebrew 🍺 https://brew.sh/ |
|
|
|
if test -d /home/linuxbrew |
|
|
|
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" |
|
|
|
|