
    l:i!                     >    d dl Z d dlmZ  edd      d        Zd Zy)    N)for_appcat   )at_leastc                     | j                   j                  d      xr, t        j                  j	                  | j
                  d         S )Nzcat: r   )output
startswithospathisdirscript_partscommands    L/var/www/html/bot/venv/lib/python3.12/site-packages/thefuck/rules/cat_dir.pymatchr      s;     	!!'* 	/
g**1-.    c                 <    | j                   j                  ddd      S )Nr   lsr   )scriptreplacer   s    r   get_new_commandr      s    >>!!%q11r   )r
   thefuck.utilsr   r   r    r   r   <module>r      s+    	 ! 	 2r   