Commit a7e30b26 authored by Anton's avatar Anton Committed by Marc Cornellà
Browse files

Fix hg call when missing on archlinux with command-not-found (#5218)

parent cc8285b1
......@@ -128,6 +128,7 @@ prompt_git() {
}
prompt_hg() {
(( $+commands[hg] )) || return
local rev status
if $(hg id >/dev/null 2>&1); then
if $(hg prompt >/dev/null 2>&1); then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment