File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Zpico -- the miniscule zsh package manager
2
2
#
3
- # Version 0.2 .0
3
+ # Version 0.3 .0
4
4
#
5
5
# https://gitlab.com/thornjad/zpico
6
6
# Copyright (c) 2021 Jade Michael Thornton under the terms of the ISC License
@@ -61,7 +61,9 @@ _zpico_add() {
61
61
}
62
62
63
63
_zpico_update () {
64
- find ${ZP_PLUGIN_HOME} -type d -exec test -e ' {}/.git' ' ;' -print0 | xargs -I {} -0 git -C {} pull -q
64
+ echo -n " Updating... "
65
+ find ${ZP_PLUGIN_HOME} -type d -exec test -e ' {}/.git' ' ;' -print0 | xargs -0I {} git -C {} pull -q --no-rebase
66
+ echo " Done"
65
67
}
66
68
67
69
_zpico_selfupdate () {
@@ -82,10 +84,13 @@ zpico() {
82
84
_zpico_add " $2 " " $3 " " $4 " " $5 "
83
85
;;
84
86
update)
87
+ _zpico_update
85
88
;;
86
89
selfupdate)
90
+ _zpico_selfupdate
87
91
;;
88
92
clean)
93
+ echo " Clean not yet stable"
89
94
;;
90
95
* )
91
96
_zpico_version
You can’t perform that action at this time.
0 commit comments