fisher/functions/__fisher_path_update.fish
2016-02-20 09:57:51 +09:00

11 lines
201 B
Fish

function __fisher_path_update -a path
pushd $path
debug "Update repository '%s'" "$path"
git checkout master --quiet ^ /dev/null
git pull --rebase origin master --quiet
popd
end