mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 08:13:40 -05:00
add command to remove (stopped) docker container.
10
Examples.md
10
Examples.md
@@ -1285,6 +1285,16 @@ function ds() {
|
||||
}
|
||||
```
|
||||
|
||||
```sh
|
||||
# Select a docker container to remove
|
||||
function drm() {
|
||||
local cid
|
||||
cid=$(docker ps -a | sed 1d | fzf -q "$1" | awk '{print $1}')
|
||||
|
||||
[ -n "$cid" ] && docker rm "$cid"
|
||||
}
|
||||
```
|
||||
|
||||
### buku
|
||||
Search and open website bookmarks stored in a [buku](https://github.com/jarun/Buku) database.
|
||||
```sh
|
||||
|
||||
Reference in New Issue
Block a user