Skip to content

Commit f2d671c

Browse files
authored
Support podman to container check (#662)
1 parent 4e0ce0a commit f2d671c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pure.zsh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,7 @@ prompt_pure_is_inside_container() {
729729
[[ -r "$cgroup_file" && "$(< $cgroup_file)" = *(lxc|docker)* ]] \
730730
|| [[ "$container" == "lxc" ]] \
731731
|| [[ "$container" == "oci" ]] \
732+
|| [[ "$container" == "podman" ]] \
732733
|| [[ -r "$nspawn_file" ]]
733734
}
734735

0 commit comments

Comments
 (0)