]> arthur.barton.de Git - ax-zsh.git/commitdiff
New "googler" plugin
authorAlexander Barton <alex@barton.de>
Sun, 12 May 2019 21:46:26 +0000 (23:46 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 12 May 2019 21:46:26 +0000 (23:46 +0200)
plugins/googler/README.md [new file with mode: 0644]
plugins/googler/googler.zshrc [new file with mode: 0644]

diff --git a/plugins/googler/README.md b/plugins/googler/README.md
new file mode 100644 (file)
index 0000000..f6be66c
--- /dev/null
@@ -0,0 +1,7 @@
+## googler
+
+Setup *googler*(1), a tool for using Google on the command line.
+
+### Command Aliases
+
+- `g`: `googler`
diff --git a/plugins/googler/googler.zshrc b/plugins/googler/googler.zshrc
new file mode 100644 (file)
index 0000000..48430df
--- /dev/null
@@ -0,0 +1,7 @@
+# AX-ZSH: Alex' Modular ZSH Configuration
+# googler.zshrc: Setup googler(1)
+
+# Make sure that "googler(1)" are installed
+(( $+commands[googler] )) || return
+
+alias g="googler"