This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
dotfiles
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
fix: status-docker command if docker isnt installed
master
Tovi Jaeschke-Rogers
5 days ago
parent
fd220c9196
commit
344c85c4b4
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
.local/bin/status-docker
+ 1
- 1
.local/bin/status-docker
View File
@ -1,3 +1,3 @@
#!/bin/bash
docker ps -q | wc -l
command -v docker >/dev/null &&
docker ps -q | wc -l
|| echo "0"
Write
Preview
Loading…
Cancel
Save