m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 16:45:38 -05:00

add command to remove (stopped) docker container.

Michael Pilosov
2019-09-03 11:18:52 -04:00
parent 8977dbcc02
commit c72fa2c4d5

@@ -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