diff options
| author | Deposite Pirate | 2025-04-02 05:53:10 +0200 |
|---|---|---|
| committer | Deposite Pirate | 2025-04-02 05:53:10 +0200 |
| commit | 349e0a99433702dc5f6b32757463df5c8439f05f (patch) | |
| tree | 4b9c0286908139f6bc48906fffa9f124f76c4b75 /conf.d/02platform.fish | |
| parent | 17362601d179c2d9f1fe283b5ec9b922f8dc5fc0 (diff) | |
is-installed function for OpenBSD
modified: conf.d/02platform.fish
Diffstat (limited to 'conf.d/02platform.fish')
| -rw-r--r-- | conf.d/02platform.fish | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/conf.d/02platform.fish b/conf.d/02platform.fish index 12ed1dc..1cd3561 100644 --- a/conf.d/02platform.fish +++ b/conf.d/02platform.fish @@ -222,6 +222,10 @@ if status is-interactive alias pkgupd 'doas pkg_add -u' end + function is-installed + pkg_info -q -e "$argv->=0" + end + end # handle_openbsd ### FreeBSD |
