Localalias

Latest version: v2.6.1

Safety actively analyzes 613460 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

2.6.1

-------------------

Fixed:

* Editor call breaks when $EDITOR includes command-line options

2.6.0

-------------------

Added:

* Automatically add zsh autocompletion for single-line funks.

Changed:

* The show command (used by default when no other command group is specified) now only treats
the given funk as a prefix if it ends in two periods (``..``). Otherwise, the funk is matched exactly. Prior
to this change, there was no way to specify an exact match.

Fixed:

* localalias.zsh incorrectly assumes that $HOME==/home/<user>
* If the Rename command (``-R``) is used to rename a funk to an existing funk's name, the user
should be prompted to confirm.
* Using ``-vh`` or ``-hv`` command-line options should show verbose help output.
* Moved 'timestamp' and 'localpath' files to user specific directory to keep this data from being
overwritten by other users (notably, to keep root from overwritting these files).

Removed:

* Oh-My-ZSH plugin support. The ``localalias.zsh`` script will now need to be manually sourced
into the user's ``zshrc``.

2.5.1

-------------------

Fixed:

* When traveling back to the project root directory (the first directory to have sourced local
functions), it is certain that sourcing the global functions will not override any local
functions defined in parent directories. Since it is safe, it is preferred to do so; otherwise,
some global functions may still be overriden by local ones even after traveling back to an
ancestor of the directory where said local functions were defined. This can still happen, but
sourcing global functions when traveling back to the project root dir makes it less likely.

2.5.0

-------------------

Changed:

* No longer separate multiline function defs from single-line function defs in Show command output.
* Use case-insensitive sort when sorting function names.
* Changed global function database from ``/home/<user>/.globalalias`` to ``/home/<user>/.localalias``.

Fixed:

* Creating a ``.localalias`` file at ``/home/<user>`` would break ``chpwd()`` function, causing all
global function overrides to persist until the end of the session even if the user changes back
to the his/her home directory.

2.4.0

-------------------

Added:

* New VDEBUG ("verbose debug") logging level.
* ``--verbose`` option

- Used with ``--debug`` it sets new VDEBUG logging level.
- Used without any other options, the Show action command is run using verbose output. Going
forward this will be used when sourcing function definitions.
- Used with ``--help`` it unsuppresses any suppressed options (e.g. currently ``--global`` is
normally suppressed).

Fixed:

* No longer unalias all single-letter aliases automatically. Instead, functions/aliases created
with localalias will automatically unalias function name before function definitions. (This
requires the ``--verbose`` option to make visible in Show command output.)

2.3.5

-------------------

Fixed:

* Switching to another folder with local aliases causes old local aliases to continue to override
global aliases

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.