Skip to content

Commit

Permalink
Support podman to container check (#662)
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsumi33 committed Feb 28, 2024
1 parent 4e0ce0a commit f2d671c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pure.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ prompt_pure_is_inside_container() {
[[ -r "$cgroup_file" && "$(< $cgroup_file)" = *(lxc|docker)* ]] \
|| [[ "$container" == "lxc" ]] \
|| [[ "$container" == "oci" ]] \
|| [[ "$container" == "podman" ]] \
|| [[ -r "$nspawn_file" ]]
}

Expand Down

0 comments on commit f2d671c

Please sign in to comment.