summaryrefslogtreecommitdiffstats
path: root/.zsh
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-03-22 12:35:22 +0100
committerFlorian Pritz <f-p@gmx.at>2009-03-22 12:35:22 +0100
commit1eb16ad07a157ff1a2b61e8e1fd6f0edafdb4657 (patch)
tree93b483f6312a9ca5a863e0a4ac8200a6ca473df4 /.zsh
parentf0b47886f50b4df1a99fadce25f2b019f56c23bc (diff)
downloaddotfiles-1eb16ad07a157ff1a2b61e8e1fd6f0edafdb4657.tar.gz
dotfiles-1eb16ad07a157ff1a2b61e8e1fd6f0edafdb4657.tar.xz
changed yd to use pbget
Diffstat (limited to '.zsh')
-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