From 040145e11892b2c4036b6e72697354785a82e58d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 19 Feb 2020 20:22:43 +0200 Subject: [PATCH] kiss: Added kiss env --- README.md | 2 +- kiss | 4 +++- kiss.1 | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 35955f2..abbc93f 100644 --- a/README.md +++ b/README.md @@ -19,11 +19,11 @@ Read: https://k1ss.org/guidestones.txt ## Usage ```sh -➜ kiss -> kiss [a|b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg] -> alternatives: List and swap to alternatives -> build: Build a package -> checksum: Generate checksums +-> env: List kiss settings -> install: Install a package -> list: List installed packages -> remove: Remove a package diff --git a/kiss b/kiss index b3c359b..e56646d 100755 --- a/kiss +++ b/kiss @@ -1359,16 +1359,18 @@ args() { done ;; + e|env) env | grep -F KISS_ ;; l|list) pkg_list "$@" ;; u|update) pkg_updates ;; s|search) for pkg; do pkg_find "$pkg" all; done ;; - v|version) log kiss 1.6.0 ;; + v|version) log kiss 1.6.1 ;; h|help|-h|--help|'') log 'kiss [a|b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg]' log 'alternatives: List and swap to alternatives' log 'build: Build a package' log 'checksum: Generate checksums' + log 'env: List kiss settings' log 'install: Install a package' log 'list: List installed packages' log 'remove: Remove a package' diff --git a/kiss.1 b/kiss.1 index 07f848c..453b4c6 100644 --- a/kiss.1 +++ b/kiss.1 @@ -13,12 +13,14 @@ Tiny and straightforward package manager for KISS written in POSIX sh. -> alternatives: List and swap to alternatives -> build: Build a package -> checksum: Generate checksums +-> env: List kiss settings -> install: Install a package -> list: List installed packages -> remove: Remove a package -> search: Search for a package -> update: Check for updates -> version: Package manager version + . .fi . @@ -188,7 +190,7 @@ export CMAKE_GENERATOR= . .nf -When a package with conflicts is installed the conflicting +When a package with conflicts is installed the conflicting files will be added as "choices" to the alternatives system. Afterwards, running kiss a/kiss alternatives will list all of