diff options
| author | Thorsten Töpper <atsutane@freethoughts.de> | 2022-04-14 19:39:12 +0200 |
|---|---|---|
| committer | Thorsten Töpper <atsutane@freethoughts.de> | 2022-04-14 19:39:12 +0200 |
| commit | 4299cc65e74a3f1118b9fa69c7f4048630750776 (patch) | |
| tree | fea7a8aab0c3447f1e1a3854d67da33f4722e6ae /zshrc | |
| parent | a6a66db6b4394ac6381b7ed4c834279dae68d7de (diff) | |
| download | dotfiles-4299cc65e74a3f1118b9fa69c7f4048630750776.tar.gz dotfiles-4299cc65e74a3f1118b9fa69c7f4048630750776.tar.bz2 | |
zshrc: aurclone a bit more PEBKAC safe.
Diffstat (limited to 'zshrc')
| -rw-r--r-- | zshrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -21,6 +21,10 @@ alias ltr='ls -ltr --color' function aurclone () { + if [ -z "${1}" ]; then + echo "Usage: aurclone PKGNAME" + return + fi git clone "https://aur.archlinux.org/${1}.git" } |
