diff options
author | Amin Bandali <bandali@gnu.org> | 2019-04-14 16:56:05 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2019-04-14 16:56:05 -0400 |
commit | d55c009f9bcf815e278dc49948e256b8e2bb34f0 (patch) | |
tree | d19b5f913e388979da398a4ee8f18eb7750c4d84 | |
parent | acb525a9072517b803309585c0ca60b346d924d6 (diff) | |
download | configs-d55c009f9bcf815e278dc49948e256b8e2bb34f0.tar.gz configs-d55c009f9bcf815e278dc49948e256b8e2bb34f0.tar.xz configs-d55c009f9bcf815e278dc49948e256b8e2bb34f0.zip |
bash: aur(): only try cloning if it doesn’t already exist
-rw-r--r-- | .bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ alias best="youtube-dl -f best" aur() { cd ~/usr/builds - git clone https://aur.archlinux.org/${1}.git + [ -d ${1} ] || git clone https://aur.archlinux.org/${1}.git cd ${1} } |