mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-19 09:03:43 -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
|
### buku
|
||||||
Search and open website bookmarks stored in a [buku](https://github.com/jarun/Buku) database.
|
Search and open website bookmarks stored in a [buku](https://github.com/jarun/Buku) database.
|
||||||
```sh
|
```sh
|
||||||
|
|||||||
Reference in New Issue
Block a user