zed icon indicating copy to clipboard operation
zed copied to clipboard

Using "zed ." will open Zed in current folder in Linux

Open AsharSi opened this issue 1 year ago • 1 comments

Check for existing issues

  • [ ] Completed

Describe the feature

Currently while using the command zed . in terminal for opening zed in current directory is not working in Linux (I'm using Kali). Am I the only one who is getting this issue or this feature in not available in linux version yet?

If applicable, add mockups / screenshots to help present your vision of the feature

No response

AsharSi avatar Aug 16 '24 17:08 AsharSi

Nope this should work.

Can you include your zed: copy system specs to clipboard in the description and provide a little bit more about your setup and what happens?

notpeter avatar Aug 16 '24 18:08 notpeter

image

You can see. In the last command I had used "zed ." but it is showing that "command zed not found". I had installed zed using the command "curl -f https://zed.dev/install.sh | sh". Also I haven't done any major configuration yet.

AsharSi avatar Aug 20 '24 17:08 AsharSi

Please read more carefully, after the curl installer finishes it tells you what to do.

You can find the zed cli at ~/.local/bin/zed and need to add ~/.local/bin to your path. image

Run:
   echo 'export PATH=$HOME/.local/bin:$PATH' >> ~/.bashrc
   source ~/.bashrc
To run Zed now, '~/.local/bin/zed'

notpeter avatar Aug 20 '24 17:08 notpeter

worked for me by adding path to zshrc Here's how you can do it

  1. use this command if you are using zsh terminal nano ~/.zshrc
  2. add this line at the last: export PATH="$HOME/.local/bin:$PATH"
  3. Save and Exit using Ctrl + O and Ctrl + X
  4. Now reload it using source ~/.zshrc in your terminal

Rust44 avatar Aug 21 '24 12:08 Rust44