about summary refs log tree commit diff stats
path: root/ranger.py
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2021-09-05 21:25:25 +0200
committertoonn <toonn@toonn.io>2021-09-05 21:28:22 +0200
commitd75dd6971ee8f67eebedfc797ae57154ae1ffb69 (patch)
treef18bf0e1e2dfd4c9185003c3db6f2cec9cff5124 /ranger.py
parentbb2734a3899aed931390ec16a64c5938cb68277c (diff)
downloadranger-d75dd6971ee8f67eebedfc797ae57154ae1ffb69.tar.gz
commands: Rename setlocal to setinpath
The `setlocal` name is hard to remember, `setintag` is much easier to
recall, so we will follow the same naming style. `setlocal` remains
available as an alias for `setinpath`.

A new abstract class, `_setlocal`, is introduced as a basis for the
`setinpath` command because we want to reuse it for the original
behavior of `setlocal`. Several bug fixes have been integrated in this
new base class. The shifting of arguments was only incidentally correct
most of the time. The matching of quoted arguments only worked in the
absence of nested quotes.
Diffstat (limited to 'ranger.py')
0 files changed, 0 insertions, 0 deletions