feat: use own plugins dir

This commit is contained in:
Price Hiller 2022-07-31 01:51:31 -05:00
parent 5e783de48f
commit 9d3e028b89
727 changed files with 18 additions and 71 deletions

View File

@ -7,9 +7,10 @@ configure() {
init() {
local wkdir="${BASE_ZSH_CONFIG_DIR}/config"
source "${wkdir}/themes/init.zsh"
source "${wkdir}/omz-init.zsh"
source "${wkdir}/profile/init.zsh"
source "${wkdir}/style/init.zsh"
source "${wkdir}/omz/init.zsh"
source "${wkdir}/plugins/init.zsh"
configure
}

View File

@ -1,11 +0,0 @@
#!/usr/bin/env zsh
__kitty_complete() {
# load kitty completions if in kitty
if test "$TERM" = "xterm-kitty"; then
if (( $+commands[kitty] )); then
eval "$(kitty + complete setup zsh)"
fi
fi
}

View File

@ -1,20 +0,0 @@
# The MIT License (MIT)
> Copyright (c) Gabe Dunn 2021
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -1,31 +0,0 @@
# kitty
> kitty is a zsh plugin that provides completions for the `kitty` terminal emulator.
## Installing
### zinit
Add this to your zinit config (.zshrc):
```zsh
zinit light redxtech/zsh-kitty
# it also works with turbo mode:
zinit ice wait lucid
zinit load redxtech/zsh-kitty
```
### oh-my-zsh
Install it with your favourite zsh package manager, or clone it directly to your
`$ZSH_CUSTOM/plugins` directory with git, and add `zsh-kitty` to the plugins
array in your `.zshrc` file:
```zsh
plugins=(... zsh-kitty)
```
## Usage
Once you install it, you just need to run `__kitty_complete` (put it somewhere in your `.zshrc`
after loading your plugins), and completions for the `kitty` command should work!
## Author
**kitty** © [Gabe Dunn](https://github.com/redxtech), Released under the [MIT](./license.md) License.

View File

@ -1,8 +0,0 @@
#!/usr/bin/env zsh
# zsh plugin to clone a package from the AUR and install it with makepkg
# add the functions to the function path & autoload them
fpath+=("$(dirname ${0})/functions")
autoload -Uz __kitty_complete

Some files were not shown because too many files have changed in this diff Show More