From 3a5fced0c09d3540cb485f4d958ea98fd6f09a5d Mon Sep 17 00:00:00 2001 From: Tin Lai Date: Thu, 9 Jul 2020 15:24:08 +1000 Subject: [PATCH] add os to test Signed-off-by: Tin Lai --- .github/workflows/ci.yaml | 2 ++ README.md | 6 +++--- libexec/shsh | 2 +- man/man1/shsh-cleanup.1 | 4 ++-- man/man1/shsh-commands.1 | 4 ++-- man/man1/shsh-completions.1 | 4 ++-- man/man1/shsh-help.1 | 4 ++-- man/man1/shsh-init.1 | 4 ++-- man/man1/shsh-install.1 | 4 ++-- man/man1/shsh-link.1 | 4 ++-- man/man1/shsh-list.1 | 4 ++-- man/man1/shsh-outdated.1 | 4 ++-- man/man1/shsh-package-path.1 | 4 ++-- man/man1/shsh-refresh.1 | 4 ++-- man/man1/shsh-self-upgrade.1 | 4 ++-- man/man1/shsh-uninstall.1 | 4 ++-- man/man1/shsh-upgrade.1 | 4 ++-- man/man1/shsh.1 | 4 ++-- 18 files changed, 36 insertions(+), 34 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 149116f..bfee464 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,6 +8,8 @@ jobs: os: - ubuntu-latest - ubuntu-18.04 + - ubuntu-16.04 + - macos-latest - macos-10.14 runs-on: ${{ matrix.os }} diff --git a/README.md b/README.md index ec54e5a..95e6c40 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,9 @@ A **sh**ell **s**cripts **h**andler (**shsh**) for managing shell scripts, funct ## What it does -Shsh allows you to quickly install shell packages directly from github or other sites. Instead of looking for specific install instructions for each package and messing with your `$PATH`, shsh will create a central location for all packages and manage their executable, completions files, and man files for you. +Shsh allows you to quickly install shell packages directly from github or other sites. Instead of looking for specific install instructions for each package and messing with your `$PATH`, shsh will create a central location for all packages and manage their executable, completions files, and man files for you. It is multi-threaded to speed up updating and setting up your packages. -Shsh is a POSIX-compatible script handler, as a former fork of [basher](https://github.com/basherpm/basher) but was made to works with even the most strict POSIX compliance shell like [dash](https://wiki.archlinux.org/index.php/Dash). +Shsh is a POSIX-compatible script handler, as a former fork of [basher](https://github.com/basherpm/basher) but was made to works with even the most strict POSIX compliance shell like [dash](https://wiki.archlinux.org/index.php/Dash). The performance of shsh is enhanced by using `dash` and with a multi-threaded. The flexibility of shsh comes from **hooks** where you can run arbitrary scripts that persists across package updates. ## Manual Installation @@ -150,4 +150,4 @@ above. - [fisher](https://github.com/jorgebucaran/fisher) for the idea of multi-threaded approach -- [vim-plug](https://github.com/junegunn/vim-plug) for the inspiration of hooks \ No newline at end of file +- [vim-plug](https://github.com/junegunn/vim-plug) for the inspiration of hooks diff --git a/libexec/shsh b/libexec/shsh index 2c22c62..f90b7c8 100755 --- a/libexec/shsh +++ b/libexec/shsh @@ -125,7 +125,7 @@ for arg; do ;; --version) cat << EOF -shsh (shell script handler) v2.3.0 +shsh (shell script handler) v2.3.1 Copyright (c) 2014 Juan Ibiapina, 2020 Tin Lai (@soraxas) This is free software; see the source for copying conditions. There is NO diff --git a/man/man1/shsh-cleanup.1 b/man/man1/shsh-cleanup.1 index cacc3a9..c3eb315 100644 --- a/man/man1/shsh-cleanup.1 +++ b/man/man1/shsh-cleanup.1 @@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.15. -.TH SHSH "1" "July 2020" "shell script handler v2.3.0" "User Commands" +.TH SHSH "1" "July 2020" "shell script handler v2.3.1" "User Commands" .SH NAME -shsh \- manual page for shsh v2.3.0 +shsh \- manual page for shsh v2.3.1 .SH SYNOPSIS .B shsh \fI\,cleanup\/\fR diff --git a/man/man1/shsh-commands.1 b/man/man1/shsh-commands.1 index 64b013e..b8f75fc 100644 --- a/man/man1/shsh-commands.1 +++ b/man/man1/shsh-commands.1 @@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.15. -.TH SHSH "1" "July 2020" "shell script handler v2.3.0" "User Commands" +.TH SHSH "1" "July 2020" "shell script handler v2.3.1" "User Commands" .SH NAME -shsh \- manual page for shsh v2.3.0 +shsh \- manual page for shsh v2.3.1 .SH SYNOPSIS .B shsh \fI\,commands\/\fR diff --git a/man/man1/shsh-completions.1 b/man/man1/shsh-completions.1 index 2673ea9..b02c798 100644 --- a/man/man1/shsh-completions.1 +++ b/man/man1/shsh-completions.1 @@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.15. -.TH SHSH "1" "July 2020" "shell script handler v2.3.0" "User Commands" +.TH SHSH "1" "July 2020" "shell script handler v2.3.1" "User Commands" .SH NAME -shsh \- manual page for shsh v2.3.0 +shsh \- manual page for shsh v2.3.1 .SH SYNOPSIS .B shsh \fI\,completions \/\fR diff --git a/man/man1/shsh-help.1 b/man/man1/shsh-help.1 index 722decf..2489da6 100644 --- a/man/man1/shsh-help.1 +++ b/man/man1/shsh-help.1 @@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.15. -.TH SHSH "1" "July 2020" "shell script handler v2.3.0" "User Commands" +.TH SHSH "1" "July 2020" "shell script handler v2.3.1" "User Commands" .SH NAME -shsh \- manual page for shsh v2.3.0 +shsh \- manual page for shsh v2.3.1 .SH SYNOPSIS .B shsh \fI\,help \/\fR[\fI\,--usage\/\fR] \fI\,COMMAND\/\fR diff --git a/man/man1/shsh-init.1 b/man/man1/shsh-init.1 index 12cfe88..d1b3e3b 100644 --- a/man/man1/shsh-init.1 +++ b/man/man1/shsh-init.1 @@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.15. -.TH SHSH "1" "July 2020" "shell script handler v2.3.0" "User Commands" +.TH SHSH "1" "July 2020" "shell script handler v2.3.1" "User Commands" .SH NAME -shsh \- manual page for shsh v2.3.0 +shsh \- manual page for shsh v2.3.1 .SH SYNOPSIS .B eval \fI\,"$(shsh init SHELL)"\/\fR diff --git a/man/man1/shsh-install.1 b/man/man1/shsh-install.1 index 3b2cc8d..8bd9fbf 100644 --- a/man/man1/shsh-install.1 +++ b/man/man1/shsh-install.1 @@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.15. -.TH SHSH "1" "July 2020" "shell script handler v2.3.0" "User Commands" +.TH SHSH "1" "July 2020" "shell script handler v2.3.1" "User Commands" .SH NAME -shsh \- manual page for shsh v2.3.0 +shsh \- manual page for shsh v2.3.1 .SH SYNOPSIS .B shsh \fI\,install \/\fR[\fI\,site\/\fR]\fI\,/\/\fR[\fI\,@ref\/\fR] [\fI\,/\/\fR] diff --git a/man/man1/shsh-link.1 b/man/man1/shsh-link.1 index 1f7bde1..6cf9100 100644 --- a/man/man1/shsh-link.1 +++ b/man/man1/shsh-link.1 @@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.15. -.TH SHSH "1" "July 2020" "shell script handler v2.3.0" "User Commands" +.TH SHSH "1" "July 2020" "shell script handler v2.3.1" "User Commands" .SH NAME -shsh \- manual page for shsh v2.3.0 +shsh \- manual page for shsh v2.3.1 .SH SYNOPSIS .B shsh \fI\,link \/\fR[\fI\,--no-deps\/\fR] \fI\, \/\fR diff --git a/man/man1/shsh-list.1 b/man/man1/shsh-list.1 index 2ad3e46..3f3a100 100644 --- a/man/man1/shsh-list.1 +++ b/man/man1/shsh-list.1 @@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.15. -.TH SHSH "1" "July 2020" "shell script handler v2.3.0" "User Commands" +.TH SHSH "1" "July 2020" "shell script handler v2.3.1" "User Commands" .SH NAME -shsh \- manual page for shsh v2.3.0 +shsh \- manual page for shsh v2.3.1 .SH SYNOPSIS .B shsh \fI\,list \/\fR[\fI\,-d|--details\/\fR] diff --git a/man/man1/shsh-outdated.1 b/man/man1/shsh-outdated.1 index b10cce8..58c8255 100644 --- a/man/man1/shsh-outdated.1 +++ b/man/man1/shsh-outdated.1 @@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.15. -.TH SHSH "1" "July 2020" "shell script handler v2.3.0" "User Commands" +.TH SHSH "1" "July 2020" "shell script handler v2.3.1" "User Commands" .SH NAME -shsh \- manual page for shsh v2.3.0 +shsh \- manual page for shsh v2.3.1 .SH SYNOPSIS .B shsh \fI\,outdated \/\fR[\fI\,-q|--quiet\/\fR] diff --git a/man/man1/shsh-package-path.1 b/man/man1/shsh-package-path.1 index bca0ef6..0ba3cf6 100644 --- a/man/man1/shsh-package-path.1 +++ b/man/man1/shsh-package-path.1 @@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.15. -.TH SHSH "1" "July 2020" "shell script handler v2.3.0" "User Commands" +.TH SHSH "1" "July 2020" "shell script handler v2.3.1" "User Commands" .SH NAME -shsh \- manual page for shsh v2.3.0 +shsh \- manual page for shsh v2.3.1 .SH SYNOPSIS .B source \fI\,"$(shsh package-path )/file.sh"\/\fR diff --git a/man/man1/shsh-refresh.1 b/man/man1/shsh-refresh.1 index b9cecec..155afb7 100644 --- a/man/man1/shsh-refresh.1 +++ b/man/man1/shsh-refresh.1 @@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.15. -.TH SHSH "1" "July 2020" "shell script handler v2.3.0" "User Commands" +.TH SHSH "1" "July 2020" "shell script handler v2.3.1" "User Commands" .SH NAME -shsh \- manual page for shsh v2.3.0 +shsh \- manual page for shsh v2.3.1 .SH SYNOPSIS .B shsh \fI\,refresh \/\fR[\fI\,--verbose\/\fR] [\fI\,-a|--all\/\fR] diff --git a/man/man1/shsh-self-upgrade.1 b/man/man1/shsh-self-upgrade.1 index 9a55a32..2624723 100644 --- a/man/man1/shsh-self-upgrade.1 +++ b/man/man1/shsh-self-upgrade.1 @@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.15. -.TH SHSH "1" "July 2020" "shell script handler v2.3.0" "User Commands" +.TH SHSH "1" "July 2020" "shell script handler v2.3.1" "User Commands" .SH NAME -shsh \- manual page for shsh v2.3.0 +shsh \- manual page for shsh v2.3.1 .SH SYNOPSIS .B shsh \fI\,self-upgrade\/\fR diff --git a/man/man1/shsh-uninstall.1 b/man/man1/shsh-uninstall.1 index 417dcdb..930929e 100644 --- a/man/man1/shsh-uninstall.1 +++ b/man/man1/shsh-uninstall.1 @@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.15. -.TH SHSH "1" "July 2020" "shell script handler v2.3.0" "User Commands" +.TH SHSH "1" "July 2020" "shell script handler v2.3.1" "User Commands" .SH NAME -shsh \- manual page for shsh v2.3.0 +shsh \- manual page for shsh v2.3.1 .SH SYNOPSIS .B shsh \fI\,uninstall \/\fR diff --git a/man/man1/shsh-upgrade.1 b/man/man1/shsh-upgrade.1 index 0dc09ff..9eb7615 100644 --- a/man/man1/shsh-upgrade.1 +++ b/man/man1/shsh-upgrade.1 @@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.15. -.TH SHSH "1" "July 2020" "shell script handler v2.3.0" "User Commands" +.TH SHSH "1" "July 2020" "shell script handler v2.3.1" "User Commands" .SH NAME -shsh \- manual page for shsh v2.3.0 +shsh \- manual page for shsh v2.3.1 .SH SYNOPSIS .B shsh \fI\,upgrade \/\fR diff --git a/man/man1/shsh.1 b/man/man1/shsh.1 index 78479d1..57cf48f 100644 --- a/man/man1/shsh.1 +++ b/man/man1/shsh.1 @@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.15. -.TH SHSH "1" "July 2020" "shell script handler v2.3.0" "User Commands" +.TH SHSH "1" "July 2020" "shell script handler v2.3.1" "User Commands" .SH NAME -shsh \- manual page for shsh v2.3.0 +shsh \- manual page for shsh v2.3.1 .SH SYNOPSIS .B shsh \fI\, \/\fR[\fI\,\/\fR] [\fI\,--verbose\/\fR] [\fI\,--help\/\fR]