mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 08:46:39 +00:00
Add command-exists shell helper
This commit is contained in:
@@ -10,7 +10,7 @@ docker_remove_exited () {
|
||||
docker rm "$(docker ps -f='status=exited' -q)"
|
||||
}
|
||||
|
||||
if (( $+commands[docker] )); then
|
||||
if command-exists docker; then
|
||||
zinit ice from'gh-r' as'program' mv'ctop-* -> ctop'
|
||||
zinit light bcicen/ctop
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user