# Allow \`zed filename.rs:\` \(\#38677\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/e9fbcf5abf6d7b72c583cb09816a2975954290ba)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: e9fbcf5abf6d7b72c583cb09816a2975954290ba

Requested commit: e9fbcf5abf6d7b72c583cb09816a2975954290ba

Commit: e9fbcf5abf6d7b72c583cb09816a2975954290ba

Tree: 67ce847a4a37d7d274378988def5cf1e2c6e4c53

Author: Conrad Irwin

Committer: GitHub

## Message

```
Allow `zed filename.rs:` (#38677)

iTerm's editor configuration dialog allows you to set your editor to
`zed \1:\2`, but not (as far as I know) to leave off the : when there's
no line number

This fixes clicking on bare filenames in iTerm for me.

Release Notes:

- Fixed line number parsing so that `zed filename.rs:` will now act as
though you did `zed filename.rs`
```

## Parents

- [c9e3b32366df2de3bf24dc5d36b7739eb24bf417](https://git.cafe/gitcafe/zed/commit/c9e3b32366df2de3bf24dc5d36b7739eb24bf417?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/e9fbcf5abf6d7b72c583cb09816a2975954290ba?format=markdown)
