Search code examples
command-lineinstallationcygwintext-editorpspad

How to edit Pspad text files using cygwin


how can I define Pspad to Cygwin ?

and

what are the commands required for text file editing ?


Solution

  • To allow easy launch of pspad from Cygwin command line, I have done the following steps :

    • check where $HOME was set in Cygwin (by doing echo $HOME in bash)
    • edit (with pspad) the file $HOME/.bashrc, writing in it :

      export PATH=/cygdrive/c/my_path_to_pspad

    • I had to rename the .bashrc.txt created by pspad into .bashrc

    • add a file $HOME/.bash_profile and, as seen here, write in it

      . ~/.bashrc

    • finally be able to launch pspad from the Cygwin command line.