Request: Add my CLI Tool, Ozed #22405
Replies: 2 comments 1 reply
-
Is that all the thing requested to be added?
I see zero value of adding that, as Zed CLI already allows to run Also, Zed is written in Rust not in a scripting language, so it's very unclear where would you want to add this. Also, such requests should better go as Pull Requests https://github.com/zed-industries/zed/pulls instead of all this. |
Beta Was this translation helpful? Give feedback.
-
Why not just add a shell alias instead of a script for such a one-liner? You could bind e.g. alias zo="zed ."
alias zn="zed -n ." This works with both Since you're using OMZ, which doesn't currently have a zed plugin, this could actually be a great opportunity to create one - it could handle cross-platform paths (especially for Windows users where |
Beta Was this translation helpful? Give feedback.
-
Check for existing issues
Describe the feature
Hi,
I wrote a cli application called ozed that opens the current directory within zed. It is a compiled bash script that works on linux. Ozed.sh is below.
#!/bin/bash
zed -n $(pwd)
Adding this to path, assuming you have the zed cli installed, allows you to execute ozed anywhere and open the current directory in zed.
Zed Version and System Specs
Zed: v0.166.1 (Zed)
OS: Linux X11 arch unknown
Memory: 15.3 GiB
Architecture: x86_64
GPU: Intel(R) Arc(tm) Graphics (MTL) || Intel open-source Mesa driver || Mesa 24.3.2-arch1.1
If applicable, add mockups / screenshots to help present your vision of the feature
Beta Was this translation helpful? Give feedback.
All reactions