]> arthur.barton.de Git - ax-zsh.git/commit
std_functions: Enhance take(), introduce untake()
authorAlexander Barton <alex@barton.de>
Wed, 17 Jan 2024 09:48:52 +0000 (10:48 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 17 Jan 2024 09:48:54 +0000 (10:48 +0100)
commitb61fb4a146c3049ef362511886e19f1f78545472
tree0cea3263686b59ee9dfbe58cc30e494849505b52
parent0842854f3ca8dc86cbad664724d19edd8f6d9d35
std_functions: Enhance take(), introduce untake()

take() now creates an new temporary directory when called without
parameters (and changes the working directory into it).

The new untake() functions changes the current working directory to the
home directory and recursively deletes the old working directory when
the path matches a pattern which is used for temporary directorues
created by take().
default_plugins/std_functions/std_functions.zshrc