mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-08 16:30:40 +01:00
Add plugin for pew
This commit is contained in:
committed by
Ruben Di Battista
parent
e32d4b1e19
commit
a48a5ba291
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
|
||||||
Reference in New Issue
Block a user