commit 040145e11892b2c4036b6e72697354785a82e58d
parent 48b6fc1c61cddefbb9b439841f2cfe5cd9200cf7
Author: Dylan Araps <dylan.araps@gmail.com>
Date: Wed, 19 Feb 2020 20:22:43 +0200
kiss: Added kiss env
Diffstat:
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git 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
@@ -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
@@ -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