Add zsh/oh my zsh/w10k
This commit is contained in:
20
zsh/.oh-my-zsh/plugins/kate/README.md
Normal file
20
zsh/.oh-my-zsh/plugins/kate/README.md
Normal file
@ -0,0 +1,20 @@
|
||||
# Kate plugin
|
||||
|
||||
This plugin adds aliases for the [Kate editor](https://kate-editor.org).
|
||||
|
||||
To use it, add kate to the plugins array of your zshrc file:
|
||||
```
|
||||
plugins=(... kate)
|
||||
```
|
||||
|
||||
## Aliases
|
||||
|
||||
| Alias | Command | Description |
|
||||
|-------|------------------------|---------------------|
|
||||
| kate | `kate >/dev/null 2>&1` | Start kate silently |
|
||||
|
||||
## Functions
|
||||
|
||||
| Function | Description |
|
||||
|------------|------------------------------------------|
|
||||
| `kt <dir>` | Change to directory and start kate there |
|
9
zsh/.oh-my-zsh/plugins/kate/kate.plugin.zsh
Normal file
9
zsh/.oh-my-zsh/plugins/kate/kate.plugin.zsh
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
# Kate
|
||||
# Start kate always silent
|
||||
alias kate='kate >/dev/null 2>&1'
|
||||
|
||||
function kt () {
|
||||
cd $1
|
||||
kate $1
|
||||
}
|
Reference in New Issue
Block a user