summaryrefslogtreecommitdiffstats
path: root/.zsh/rc/30functions
diff options
context:
space:
mode:
Diffstat (limited to '.zsh/rc/30functions')
-rw-r--r--.zsh/rc/30functions9
1 files changed, 2 insertions, 7 deletions
diff --git a/.zsh/rc/30functions b/.zsh/rc/30functions
index 4140584..85af0bb 100644
--- a/.zsh/rc/30functions
+++ b/.zsh/rc/30functions
@@ -120,13 +120,8 @@ hglob() {
# download any package's PKGBUILD and go into that dir
yd(){
- if [ -n "$1" ]; then
- mkdir -p $1
- builtin cd $1
- yaourt -G $1
- else
- echo "Sorry, I need at least a name..."
- fi
+ pbget $1
+ builtin cd $1
}
# some script to make this damn agent work easier