fisher/functions/__fisher_path_update.fish
2016-02-24 08:45:53 +09:00

11 lines
219 B
Fish

function __fisher_path_update -a path
pushd $path
git checkout master --quiet
git stash --quiet ^ /dev/null
git pull --rebase origin master --quiet
git stash apply --quiet ^ /dev/null
popd
end