# Allow Trash to fallback to Delete on failure \(\#27682\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 08bb17a7ebbccf1c113ed5935ca3d26ff81317e7

Requested commit: 08bb17a7ebbccf1c113ed5935ca3d26ff81317e7

Commit: 08bb17a7ebbccf1c113ed5935ca3d26ff81317e7

Tree: 6cefe21cf33049bb205eaa308b21e126d65056f3

Author: Conrad Irwin

Committer: GitHub

## Message

```
Allow Trash to fallback to Delete on failure (#27682)

This fixes trashing files from the git panel on SSH remotes that don't
run a Desktop environment.

Release Notes:

- Fix trash to work on remotes with no desktop environment configured
```

## Parents

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

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