gotrash
rm alternative written in Go.
Installation
Homebrew
$ brew install koki-develop/tap/gotrash
go install
$ go install github.com/koki-develop/[email protected]
Releases
Download the binary from the releases page.
Usage
$ gotrash --help
rm alternative written in Go.
Usage:
gotrash [command]
Available Commands:
clear Clear all trashed files or directories
completion Generate the autocompletion script for the specified shell
help Help about any command
list List trashed flies or directories
put Trash files or directories
restore Restore trashed files or directories
Flags:
-h, --help help for gotrash
-v, --version version for gotrash
Use "gotrash [command] --help" for more information about a command.
gotrash put
gotrash put
trashes files or directories.
Files and directories trashed by gotrash put
are not deleted, but placed in the trash can ( $GOTRASH_ROOT/can
) .
The $GOTRASH_ROOT
environment variable ( default: $HOME/.gotrash
) can be rewritten to customize the trash can path.
gotrash list
Alias: gotrash ls
Files and directories in the trash can can be viewed with gotrash list
.
$ gotrash list
gotrash restore
Alias: gotrash rs
Trashed files and directories can be restored with gotrash restore
.
Check the index with gotrash list
and pass it.
If you execute without specifying indexes, fuzzy finder will start.
You can use the tab key to select multiple files or directories to restore.
gotrash clear
gotrash clear
deletes all trashed files and directories.
Update module github.com/tidwall/buntdb to v1.3.0
This PR contains the following updates:
| Package | Type | Update | Change | |---|---|---|---| | github.com/tidwall/buntdb | require | minor |
v1.2.10
->v1.3.0
|Release Notes
tidwall/buntdb
v1.3.0
Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
Update module github.com/koki-develop/go-fzf to v0.13.1
This PR contains the following updates:
| Package | Type | Update | Change | |---|---|---|---| | github.com/koki-develop/go-fzf | require | minor |
v0.12.0
->v0.13.1
|Release Notes
koki-develop/go-fzf
v0.13.1
Compare Source
What's Changed
Full Changelog: https://github.com/koki-develop/go-fzf/compare/v0.13.0...v0.13.1
v0.13.0
Compare Source
What's Changed
Full Changelog: https://github.com/koki-develop/go-fzf/compare/v0.12.0...v0.13.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
Update peter-evans/create-pull-request action to v5
This PR contains the following updates:
| Package | Type | Update | Change | |---|---|---|---| | peter-evans/create-pull-request | action | major |
v4
->v5
|Release Notes
peter-evans/create-pull-request
v5
Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
Update module github.com/koki-develop/go-fzf to v0.11.1
This PR contains the following updates:
| Package | Type | Update | Change | |---|---|---|---| | github.com/koki-develop/go-fzf | require | patch |
v0.11.0
->v0.11.1
|Release Notes
koki-develop/go-fzf
v0.11.1
Compare Source
What's Changed
Full Changelog: https://github.com/koki-develop/go-fzf/compare/v0.11.0...v0.11.1
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
Update module github.com/koki-develop/go-fzf to v0.11.0
This PR contains the following updates:
| Package | Type | Update | Change | Pending | |---|---|---|---|---| | github.com/koki-develop/go-fzf | require | minor |
v0.10.0
->v0.11.0
|v0.11.1
|Release Notes
koki-develop/go-fzf
v0.11.0
Compare Source
What's Changed
Full Changelog: https://github.com/koki-develop/go-fzf/compare/v0.10.0...v0.11.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
Update module github.com/spf13/cobra to v1.7.0
This PR contains the following updates:
| Package | Type | Update | Change | |---|---|---|---| | github.com/spf13/cobra | require | minor |
v1.6.1
->v1.7.0
|Release Notes
spf13/cobra
v1.7.0
Compare Source
✨ Features
bash
,zsh
,pwsh
, &fish
: @h4ck3rk3y #1903🐛 Bug fixes
template
import variable name: @yashLadha #1879🧪 Testing & CI/CD
🔧 Maintenance
stale.yaml
mispellings: @enrichman #1863Vitess
andArewefastyet
to projects using cobra: @frouioui #1932✏️ Documentation
MarkFlagsMutuallyExclusive
example in user guide: @janhn #1904shell_completions.md
: @gusega #1907This release contains several long running fixes, improvements to powershell completions, and further optimizations for completions.
Thank you everyone who contributed to this release and all your hard work! Cobra and this community would never be possible without all of you! 🐍
Full changelog: https://github.com/spf13/cobra/compare/v1.6.1...v1.7.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
Update module github.com/koki-develop/go-fzf to v0.10.0
This PR contains the following updates:
| Package | Type | Update | Change | Pending | |---|---|---|---|---| | github.com/koki-develop/go-fzf | require | minor |
v0.9.0
->v0.10.0
|v0.11.0
|Release Notes
koki-develop/go-fzf
v0.10.0
Compare Source
What's Changed
Full Changelog: https://github.com/koki-develop/go-fzf/compare/v0.9.0...v0.10.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
Update module github.com/koki-develop/go-fzf to v0.7.0
This PR contains the following updates:
| Package | Type | Update | Change | Pending | |---|---|---|---|---| | github.com/koki-develop/go-fzf | require | minor |
v0.6.0
->v0.7.0
|v0.8.0
|Release Notes
koki-develop/go-fzf
v0.7.0
Compare Source
What's Changed
FZF.Quit()
andFZF.Abort()
by @koki-develop in https://github.com/koki-develop/go-fzf/pull/15Full Changelog: https://github.com/koki-develop/go-fzf/compare/v0.6.0...v0.7.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
Update module github.com/koki-develop/go-fzf to v0.6.0
This PR contains the following updates:
| Package | Type | Update | Change | Pending | |---|---|---|---|---| | github.com/koki-develop/go-fzf | require | minor |
v0.5.1
->v0.6.0
|v0.8.0
(+1) |Release Notes
koki-develop/go-fzf
v0.6.0
Compare Source
What's Changed
Full Changelog: https://github.com/koki-develop/go-fzf/compare/v0.5.1...v0.6.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
Update module github.com/koki-develop/go-fzf to v0.5.1
This PR contains the following updates:
| Package | Type | Update | Change | Pending | |---|---|---|---|---| | github.com/koki-develop/go-fzf | require | minor |
v0.4.0
->v0.5.1
|v0.8.0
(+2) |Release Notes
koki-develop/go-fzf
v0.5.1
Compare Source
What's Changed
Full Changelog: https://github.com/koki-develop/go-fzf/compare/v0.5.0...v0.5.1
v0.5.0
Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/koki-develop/go-fzf/compare/v0.4.0...v0.5.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
Update module github.com/charmbracelet/lipgloss to v0.7.1
This PR contains the following updates:
| Package | Type | Update | Change | |---|---|---|---| | github.com/charmbracelet/lipgloss | require | minor |
v0.6.0
->v0.7.1
|Release Notes
charmbracelet/lipgloss
v0.7.1
Compare Source
This bugfix release fixes a problem introduced in v0.7.0 where applications could freeze or hang on start-up.
What's Changed
Full Changelog: https://github.com/charmbracelet/lipgloss/compare/v0.7.0...v0.7.1
v0.7.0
Compare Source
Custom Renderers
We're pleased to introduce custom renders for Lip Gloss! Custom renderers allow you to render to a specific outputs, which is particularly important when you want to detect the color profile and dark background status for multiple different outputs at runtime, such as in a server-client situation.
Here's what it looks like:
For a full example on using a custom renderer over SSH with Wish see the SSH example.
New API Stuff
type Renderer struct
NewRenderer(io.Writer)
DefaultRenderer()
SetDefaultRenderer(*lipgloss.Renderer)
style.Renderer(*lipgloss.Renderer) Style
What's Changed
New
Fixed
New Contributors
Full Changelog: https://github.com/charmbracelet/lipgloss/compare/v0.6.0...v0.7.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
Update module github.com/koki-develop/go-fzf to v0.13.2
This PR contains the following updates:
| Package | Type | Update | Change | |---|---|---|---| | github.com/koki-develop/go-fzf | require | patch |
v0.13.1
->v0.13.2
|Release Notes
koki-develop/go-fzf
v0.13.2
Compare Source
What's Changed
Full Changelog: https://github.com/koki-develop/go-fzf/compare/v0.13.1...v0.13.2
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
Dependency Dashboard
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Open
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
Detected dependencies
github-actions
gomod