20.15 Changing directory

mbfl_location_handler_change_directory to temporarily change the current directory in the context of a location.

Variable: mbfl_CHANGE_DIRECTORY_HOOK

A global hook variable whose commands are evaluated whenever the current process directory is successfully changed with a call to mbfl_change_directory(); Executing commands with event hooks.

Function: mbfl_change_directory DIRNAME OPT

Change directory to DIRNAME. Optional flags to cd may be appended. If the execution of the cd command is successful: the hook mbfl_CHANGE_DIRECTORY_HOOK is run.

Function: mbfl_cd DIRNAME OPT

Wrapper for mbfl_change_directory(). If verbose mode is on: print a message.


This document describes version 3.0.0-devel.9 of Marcos Bash Functions Library.