Index

Table of contents

bash

export a function
export -f [function]

changing the terminal's directory

creating a script that can change the terminal's directory
q() {
	builtin cd
}
you HAVE to source the file with "source" or '.' in order for it to work
source /path/to/script
q