chezmoi init
This commit is contained in:
commit
530d6d7195
1176 changed files with 111325 additions and 0 deletions
19
dot_oh-my-zsh/plugins/tmuxinator/README.md
Normal file
19
dot_oh-my-zsh/plugins/tmuxinator/README.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Tmuxinator plugin
|
||||
|
||||
This plugin provides completion for [tmuxinator](https://github.com/tmuxinator/tmuxinator),
|
||||
as well as aliases for frequent tmuxinator commands.
|
||||
|
||||
To use it add `tmuxinator` to the plugins array in your zshrc file.
|
||||
|
||||
```zsh
|
||||
plugins=(... tmuxinator)
|
||||
```
|
||||
|
||||
## Aliases
|
||||
|
||||
| Alias | Command | Description |
|
||||
| ----- | ---------------- | ------------------------ |
|
||||
| `txs` | tmuxinator start | Start Tmuxinator |
|
||||
| `txo` | tmuxinator open | Open project for editing |
|
||||
| `txn` | tmuxinator new | Create project |
|
||||
| `txl` | tmuxinator list | List projects |
|
23
dot_oh-my-zsh/plugins/tmuxinator/_tmuxinator
Normal file
23
dot_oh-my-zsh/plugins/tmuxinator/_tmuxinator
Normal file
|
@ -0,0 +1,23 @@
|
|||
#compdef tmuxinator mux
|
||||
#autoload
|
||||
|
||||
_tmuxinator() {
|
||||
local commands projects
|
||||
commands=(${(f)"$(tmuxinator commands zsh)"})
|
||||
projects=(${(f)"$(tmuxinator completions start)"})
|
||||
|
||||
if (( CURRENT == 2 )); then
|
||||
_describe -t commands "tmuxinator subcommands" commands
|
||||
_describe -t projects "tmuxinator projects" projects
|
||||
elif (( CURRENT == 3)); then
|
||||
case $words[2] in
|
||||
copy|debug|delete|open|start)
|
||||
_arguments '*:projects:($projects)'
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
compdef _tmuxinator tmuxinator
|
5
dot_oh-my-zsh/plugins/tmuxinator/tmuxinator.plugin.zsh
Normal file
5
dot_oh-my-zsh/plugins/tmuxinator/tmuxinator.plugin.zsh
Normal file
|
@ -0,0 +1,5 @@
|
|||
# aliases
|
||||
alias txs='tmuxinator start'
|
||||
alias txo='tmuxinator open'
|
||||
alias txn='tmuxinator new'
|
||||
alias txl='tmuxinator list'
|
Loading…
Add table
Add a link
Reference in a new issue