Issues with conda activate and deactivate in Cygwin

Hi guys,

I am using conda on cygwin and there are some issues when I try to conda activate and deactivate. Furthermore, the cursor goes to the very beginning of the line, where it should be placed after the dollar sign.

huyin@Gang ~ $ conda activate base
: No such file or directory/etc/conda/activate.d/
conda deactivate base
: No such file or directory/Scripts/conda.exe
(base) huyin@Gang ~ $

Here is conda info

huyin@Gang ~ $ conda info

     active environment : None
            shell level : 0
       user config file : C:\Users\huyin\.condarc
 populated config files : C:\Users\huyin\.condarc
          conda version : 24.1.2
    conda-build version : 24.1.2
         python version :
                 solver : libmamba (default)
       virtual packages : __archspec=1=x86_64
       base environment : D:\Anaconda  (writable)
      conda av data dir : D:\Anaconda\etc\conda
  conda av metadata url : None
           channel URLs :
                          I2GBZaA0.4.3 c/ltujzM1Z1f84gfqwK4NqFw s/c_CGhzQnPu_eiZDC          administrator : Falseaconda\pkgs
             netrc file : Nonesers\huyin\.conda\pkgs
           offline mode : Falseers\huyin\AppData\Local\conda\conda\pkgs
       envs directories : D:\Anaconda\envs
huyin@Gang ~ $
               platform : win-64
             user-agent : conda/24.1.2 requests/2.31.0 CPython/3.11.7 Windows/10

Really appreciate any help.