whoami7 - Manager
:
/
proc
/
self
/
root
/
usr
/
local
/
rvm
/
scripts
/
extras
/
bash_zsh_support
/
chpwd
/
Upload File:
files >> //proc/self/root/usr/local/rvm/scripts/extras/bash_zsh_support/chpwd/README.md
# Bash support for Zsh like chpwd hook Implemented based on the description from http://zsh.sourceforge.net/Doc/Release/Functions.html#Hook-Functions ## Usage 1. load `function.sh` and `load.sh`, eg: source chpwd/functions.sh source chpwd/load.sh 2. add the hook - replace `_hook_name` with your function name: export -a chpwd_functions # define hooks as an shell array [[ " ${chpwd_functions[*]} " == *" _hook_name "* ]] || # prevent double addition chpwd_functions+=(_hook_name) # finally add it to the list
Copyright ©2021 || Defacer Indonesia