From a48a5ba2910ea72dde04497bdcf234cd6f4699e8 Mon Sep 17 00:00:00 2001 From: Ruben Di Battista Date: Sat, 28 Sep 2019 16:22:56 +0200 Subject: [PATCH] Add plugin for `pew` --- plugins/pew/pew.plugin.zsh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 plugins/pew/pew.plugin.zsh diff --git a/plugins/pew/pew.plugin.zsh b/plugins/pew/pew.plugin.zsh new file mode 100644 index 000000000..be1faa328 --- /dev/null +++ b/plugins/pew/pew.plugin.zsh @@ -0,0 +1,10 @@ + +if type pew > /dev/null; then + # Use the completion already shipped by the python package + shell_config_path=$(dirname $(pew shell_config)) + + fpath+=$shell_config_path + compinit +else + echo "`pew` command seems to not exist. Check that it is available in your PATH" +fi