mirror of https://github.com/containers/podman.git
				
				
				
			Fixed a bug about bash automatically complete
When I input podman start in bash , and then type tab , cannot automatically complete container name , this pr will fix the bug . Signed-off-by: 李俊杰 <phpor@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									e4e5efc12b
								
							
						
					
					
						commit
						27f861f785
					
				|  | @ -104,7 +104,7 @@ __podman_complete_containers_running() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| __podman_complete_containers_stopped() { | __podman_complete_containers_stopped() { | ||||||
| 	__podman_complete_containers "$@" --filter status=exited | 	__podman_complete_containers "$@" --all --filter status=exited | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| __podman_complete_containers_unpauseable() { | __podman_complete_containers_unpauseable() { | ||||||
|  | @ -2448,7 +2448,7 @@ _podman_start() { | ||||||
| 	    COMPREPLY=($(compgen -W "$boolean_options $options_with_args" -- "$cur")) | 	    COMPREPLY=($(compgen -W "$boolean_options $options_with_args" -- "$cur")) | ||||||
| 	    ;; | 	    ;; | ||||||
| 	*) | 	*) | ||||||
| 	    __podman_complete_container_names | 	    __podman_complete_containers_stopped | ||||||
| 	    ;; | 	    ;; | ||||||
|     esac |     esac | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue