Davor Ocelic <docelic@crystallabs.io> [Tue, 07 May 2019 19:34:40 +0200] rev 120
Multiple configfile-related changes
- Print current configfile in the output of 'env' (this also makes configfile changeable in runtime via 'setenv')
- In 'configfile' commands, print which config file is being used
- Fix behavior of existing 'more_conf'
- Make load_config() return filename and hash, rather than unconditionally overwrite $conf
- Bring back %conf2 into implementation of save_config; it is necessary to be there or 'configfile' is getting lost/deleted in the runtime config
Other changes
- Add 'set' as alias for 'setenv'
- Add unsetenv/unset (opposite of setenv/set)
- Do not print unset/undefined values in 'env'
Davor Ocelic <docelic@crystallabs.io> [Mon, 06 May 2019 21:58:29 +0200] rev 119
Support separating aliases by space too
Davor Ocelic <docelic@crystallabs.io> [Mon, 06 May 2019 21:11:13 +0200] rev 118
Use local implementation of slurp()
Davor Ocelic <docelic@crystallabs.io> [Sun, 05 May 2019 10:51:34 +0200] rev 117
Improve accepted command line options
This commit enables getopt case sensitivity and adds all command line
options/abbreviations typically supported by LDAP clients:
-w/-y, -p, -x, -Z/-ZZ, -v
Davor Ocelic <docelic@crystallabs.io> [Sun, 05 May 2019 10:14:18 +0200] rev 116
Support arrays/hashes in 'env' (WIP)
- 'env' now prints 'attributes' array
- 'env' output now supports any data type, not just strings
- option --attributes on command line properly overrides config values
The remaining thing to do is to support 'setenv' to work with non-strings too.
Davor Ocelic <docelic@crystallabs.io> [Sun, 05 May 2019 09:54:28 +0200] rev 115
Add alias, unalias, configfile
- Add commands 'alias' and 'unalias'.
Behavior is almost identical to shell.
Aliases currently cannot override commands.
- Add command 'configfile'.
Allows loading / saving config files from command line.
Davor Ocelic <docelic@crystallabs.io> [Sat, 04 May 2019 22:38:33 +0200] rev 114
With ls -l, print file type ('-' or 'd') as first field of output
This change brings output of 'ls -l' closer to the actual shell command.
Davor Ocelic <docelic@crystallabs.io> [Fri, 03 May 2019 19:23:54 +0200] rev 113
Improve save_config()
Davor Ocelic <docelic@crystallabs.io> [Tue, 30 Apr 2019 12:07:28 +0200] rev 112
Add missing block to Term::Shell fix
(This corresponds to Term::Shell PR posted at
https://github.com/shlomif/Term-Shell/pull/3)
Davor Ocelic <docelic@crystallabs.io> [Tue, 30 Apr 2019 01:10:00 +0200] rev 111
Make aliases be auto-detected and inserted into help texts.