Pigotz / bash_cd_hook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bash cd hook

This is a simple repo for a simple snippet made by a simple man with ❤️.

How to

Clone this repo and you are ready to install this hook inside your ~/.bash_profile.

install.sh

Execute this file to install the hook

uninstall.sh

Execute this file to remove the hook

Hook files

enter.sh

Place this file inside a folder and when you cd inside that this file will be fired with source.

leave.sh

Same as enter.sh but this file will be sourced before leaving the directory.

About


Languages

Language:Shell 100.0%