references:
- Best UNIX shell-based tools
- * alebcay/awesome-shell | * zh-cn
- * rockerBOO/awesome-neovim
- sindresorhus/awesome
- Sainnhe's Dashboard: os in web browser
- others
- My Minimalist Over-powered Linux Setup Guide
- * devynspencer/cute_commands.sh
- Use Bash Strict Mode (Unless You Love Debugging)
- Learn Enough Command Line to Be Dangerous
- jlevy/the-art-of-command-line
- pv - Pipe Viewer
awesome shells
ncdu : NCurses Disk Usage
[!TIP]
# deps install
$ sudo snap install zig --class --beta
$ sudo apt install libncurses-dev
$ make
$ sudo make install PREFIX=/usr/local
# verify
$ ncdu --version
ncdu 2.3

[!NOTE|label:Alternatives:]
ansi colors
[!NOTE|label:references:]
- see more toosl for ansicolor in * iMarslo: colors
c: bash-colors
[!TIP]
- flags
┌───────┬────────────────┬─────────────────┐ ┌───────┬─────────────────┬───────┐ │ Fg/Bg │ Color │ Octal │ │ Code │ Style │ Octal │ ├───────┼────────────────┼─────────────────┤ ├───────┼─────────────────┼───────┤ │ K/k │ Black │ \e[ + 3/4 + 0m │ │ s/S │ Bold (strong) │ \e[1m │ │ R/r │ Red │ \e[ + 3/4 + 1m │ │ d/D │ Dim │ \e[2m │ │ G/g │ Green │ \e[ + 3/4 + 2m │ │ i/I │ Italic │ \e[3m │ │ Y/y │ Yellow │ \e[ + 3/4 + 3m │ │ u/U │ Underline │ \e[4m │ │ B/b │ Blue │ \e[ + 3/4 + 4m │ │ f/F │ Blink (flash) │ \e[5m │ │ M/m │ Magenta │ \e[ + 3/4 + 5m │ │ n/N │ Negative │ \e[7m │ │ C/c │ Cyan │ \e[ + 3/4 + 6m │ │ h/H │ Hidden │ \e[8m │ │ W/w │ White │ \e[ + 3/4 + 7m │ │ t/T │ Strikethrough │ \e[9m │ ├───────┴────────────────┴─────────────────┤ ├───────┼─────────────────┼───────┤ │ High intensity │ \e[ + 9/10 + *m │ │ 0 │ Reset │ \e[0m │ └────────────────────────┴─────────────────┘ └───────┴─────────────────┴───────┘ Uppercase = Reset a style: \e[2*m

ansi
[!NOTE|label:references:]
install
$ curl -sL git.io/ansi -o "${iRCHOME}"/utils/ansi && chmod +x $_ $ ln -sf $(realpath "${iRCHOME}"/utils/ansi) $(realpath "${iRCHOME}"/bin)/ansi
1.4.1.3 -- ansi color tables
diff-so-fancy
[!NOTE|label:references:]
# ubuntu
$ sudo add-apt-repository ppa:aos1/diff-so-fancy
$ sudo apt update
$ sudo apt install diff-so-fancy
# verify
$ diff-so-fancy --version
Diff-so-fancy: https://github.com/so-fancy/diff-so-fancy
Version : 1.4.2
utility
elinks
[!NOTE|label:references:]
- ELinks
- MacOS:
$ brew install felinks $ which -a elinks /usr/local/bin/elinks- * iMarslo : open html in terminal
- ELinks - Full-Featured Text WWW Browser
$ elinks https://google.com

configure
[!NOTE|label:references:]
$ cat ~/.elinks/elinks.conf set connection.ssl.cert_verify = 0
duf

enhancd
[!NOTE|label:references:]
- mattn/ltsv.vim
- * lfromanini/smartcd
* iMarslo : autocmd BufWritePre except
" original autocmd BufWritePre * :retab! " automatic retab " for ltsv if has( "autocmd" ) autocmd BufRead,BufNewFile *.ltsv set filetype=ltsv syntax=groovy noexpandtab autocmd BufWritePre *\(.ltsv\|.diffs\)\@<! :retab! " automatic retab endif
install
$ git clone https://github.com/babarot/enhancd && source enhancd/init.sh # or $ curl -L git.io/enhancd | shre-mapping cmd
diff --git a/init.sh b/init.sh index 55a9c95..bc3ae89 100644 --- a/init.sh +++ b/init.sh @@ -52,8 +52,8 @@ if [[ ! -f ${ENHANCD_DIR}/enhancd.log ]]; then touch "${ENHANCD_DIR}/enhancd.log" fi -# alias to cd -eval "alias ${ENHANCD_COMMAND:=cd}=__enhancd::cd" +# alias to ce +eval "alias ${ENHANCD_COMMAND:=ce}=__enhancd::cd" # Set the filter if empty if [[ -z ${ENHANCD_FILTER} ]]; thenusage
$ brew install fzy # debine $ sudo apt install fzy $ export ENHANCD_FILTER="fzf --height 35%:fzy" $ source /path/to/enhancd/init.sh $ ce .
1.4.1.6 -- enhancd