Skip to content

Commit

Permalink
Fix hg call when missing on archlinux with command-not-found (ohmyzsh…
Browse files Browse the repository at this point in the history
  • Loading branch information
atk91 authored and mcornella committed Jul 22, 2016
1 parent cc8285b commit a7e30b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions themes/agnoster.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7e30b2

Please sign in to comment.