helm/bin/rehash
2017-12-06 01:39:10 -05:00

11 lines
213 B
Bash
Executable file

#!/usr/bin/env zsh
# Rehashes all (rb|py|nod|lua|*)env environments
for env in $XDG_CONFIG_HOME/*env(N); do
local bin=${env##*/}
if _is_callable $bin; then
echo "Rehashing $bin"
$bin rehash
fi
done