
    l:iB                     f    d dl Z d dlmZ d dlmZ d dlmZ e ed      d               Zed        Zy)    N)for_app)sudo_support)shellcdc                     | j                   j                  d      xr\ t        d| j                  j	                         v d| j                  j	                         v d| j                  j	                         v f      S )Nzcd zno such file or directoryzcd: can't cd tozdoes not exist)script
startswithanyoutputlower)commands    M/var/www/html/bot/venv/lib/python3.12/site-packages/thefuck/rules/cd_mkdir.pymatchr      sk     	!!%( 	S'7>>+?+?+AA'.."6"6"88 4 4 662
 .    c                 p    t        j                  dd      }t        j                  d|| j                        S )Nzmkdir -p \1zcd \1z^cd (.*))r   and_resubr   )r   repls     r   get_new_commandr      s)    ::nh/D66+tW^^44r   )	r   thefuck.utilsr   thefuck.specific.sudor   thefuck.shellsr   r   r    r   r   <module>r      sE    	 ! .      5 5r   