https://github.com/reyalka/shell-abbr.nvim
Neovim plugin to use abbr for fish/zsh users
https://github.com/reyalka/shell-abbr.nvim
Last synced: about 2 months ago
JSON representation
Neovim plugin to use abbr for fish/zsh users
- Host: GitHub
- URL: https://github.com/reyalka/shell-abbr.nvim
- Owner: reyalka
- Created: 2025-05-06T15:11:51.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-05-07T04:14:33.000Z (about 2 months ago)
- Last Synced: 2025-05-07T05:22:49.999Z (about 2 months ago)
- Language: Lua
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- my-neovim-pluginlist - reyalka/shell-abbr.nvim - abbr.nvim)   (Other Standard Feature Enhancement / Abbreviation)
README
# shell-abbr.nvim
Neovim plugin to use abbr for fish/zsh users
## Config
### lazy.nvim
```lua
{
"reyalka/shell-abbr.nvim",
opts = {}
}
```## Option
### default config
```lua
require("shell-abbr").setup({
-- for fish users
fish = {
-- if using fish built-in abbr
enabled = false,
-- custom filetype to enable the abbr feature
filetype = "fish",
},
-- for zsh users
zsh = {
-- custom filetype to enable the abbr feature
filetype = "zsh",
plugins = {
-- if using zsh-abbr
["zsh-abbr"] = {
enabled = false,
},
-- if using zsh-abbrev-alias
["zsh-abbrev-alias"] = {
enabled = false,
},
},
},
})
```### fish user
```lua
require("shell-abbr").setup({
fish = {
enabled = true,
}
})
```### zsh user
```lua
require("shell-abbr").setup({
zsh = {
plugins = {
-- if using zsh-abbr
["zsh-abbr"] = {
enabled = true,
},
-- if using zsh-abbrev-alias
["zsh-abbrev-alias"] = {
enabled = true,
},
},
},
})
```