mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-23 14:20:08 +00:00
Add plugin for pew
This commit is contained in:
parent
e32d4b1e19
commit
a48a5ba291
1 changed files with 10 additions and 0 deletions
10
plugins/pew/pew.plugin.zsh
Normal file
10
plugins/pew/pew.plugin.zsh
Normal file
|
@ -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
|
Loading…
Reference in a new issue