1
0
Fork 0
This commit is contained in:
Vladimír Dudr 2022-11-11 20:04:03 +01:00
parent 626f17e517
commit 40cbf9ec95
2 changed files with 15 additions and 1 deletions

View file

@ -0,0 +1,12 @@
#compdef laya-repo
_describe 'command' '(
commit-all:go\ through\ all\ libs\ in\ storage,\ stage\ all\ changes,\ commit\ them\
convert:create\ new\ laya\ repository\ and\ copy\ current\ dir\ to\ repository\ directory\
pull-all:pull\ or\ clone\ everything\ in\ repository.laya.io/laya/\
status:show\ what\ is\ not\ commited\
diff:show\ diff\ of\ current\ directory\ agains\ laya\ lib\ of\ same\ name\
sync:synchronize\ all\ files\ of\ current\ directory\ to\ laya\ lib\ of\ same\ name\
sync-all:call\ sync\ to\ all\ subdirectories\ of\ current\ directory
)' && ret=0

View file

@ -45,13 +45,15 @@ DISABLE_AUTO_UPDATE="true"
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git z sudo docker laya-repo fzf)
plugins=(z sudo fzf)
if [[ -z "$MC_SID" ]]
then
plugins+=direnv
plugins+=timer
fi
fpath+=~/.config/zsh/completion
source $ZSH/oh-my-zsh.sh
if [[ -n "$MC_SID" ]]