warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
20.92k stars 358 forks source link

Support zsh abbreviations #1514

Open zheng opened 2 years ago

zheng commented 2 years ago

Discord username (optional)

No response

Describe the bug

[https://fishshell.com/docs/current/cmds/abbr.html] (Fish abbreviations) work just fine, but zsh abbreviations coming from the zsh-abbr plugin don't work at all. When I press space, nothing happens.

To Reproduce

Steps to reproduce:

  1. Use zsh
  2. Install this plugin: https://github.com/olets/zsh-abbr
  3. Try to create an abbreviation: abbr gs='git status'
  4. Try to use the abbreviation by typing: gs and then space

Expected behaviour

The abbreviation should be expanded

Screenshots

No response

Operating System

No response

OS Version

big sur

Shell Version

zsh

Warp Version

latest

Additional context

Originally reported in https://github.com/warpdotdev/Warp/issues/537 by @juliogarciag

Warp Internal (ignore): linear-label:24888f54-df93-45d5-9bdd-e38f740cac19

No response

sentoc commented 1 year ago

If zsh is the default shell for warp, shall we plan for supporting zsh abbr?

n3xem commented 11 months ago

I need abbr seriously. thank you for creating this issue