helm/dev/rbenv/update

9 lines
177 B
Bash
Executable file

#!/usr/bin/env bash
if [[ -d "$HOME/.rbenv" ]]; then
cd $HOME/.rbenv && git pull
for plugin in $HOME/.rbenv/plugins/*/; do
cd "$plugin" && git pull
done
fi