update folderstructure to match xdg-ninja
This commit is contained in:
parent
ec2e91d063
commit
50ecdf4696
1040 changed files with 1898 additions and 2830 deletions
|
@ -0,0 +1,17 @@
|
|||
# zoxide plugin
|
||||
|
||||
Initializes [zoxide](https://github.com/ajeetdsouza/zoxide), a smarter cd
|
||||
command for your terminal.
|
||||
|
||||

|
||||
|
||||
To use it, add `zoxide` to the plugins array in your `.zshrc` file:
|
||||
|
||||
```zsh
|
||||
plugins=(... zoxide)
|
||||
```
|
||||
## Overriding `z` Alias
|
||||
|
||||
You can set the `ZOXIDE_CMD_OVERRIDE`, which will be passed to the `--cmd` flag of `zoxide init`. This allows you to set your `z` command to a default of `cd`.
|
||||
|
||||
**Note:** you have to [install zoxide](https://github.com/ajeetdsouza/zoxide#step-1-install-zoxide) first.
|
|
@ -0,0 +1,5 @@
|
|||
if (( $+commands[zoxide] )); then
|
||||
eval "$(zoxide init --cmd ${ZOXIDE_CMD_OVERRIDE:-z} zsh)"
|
||||
else
|
||||
echo '[oh-my-zsh] zoxide not found, please install it from https://github.com/ajeetdsouza/zoxide'
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue