CobbCoding1 / Cano

Text Editor Written In C Using ncurses
Apache License 2.0
73 stars 14 forks source link

"Cano" Command #76

Closed Clo612 closed 3 months ago

Clo612 commented 4 months ago

@CobbCoding1 I think you should add a cano command so you do not have to stay in the Cano dirrectory and you can just type "Cano " and not "cd Cano" and then "./build/cano ". This should be added in the future.

CobbCoding1 commented 4 months ago

You can do this now, if you navigate to the cano source directory, and type make install (instead of just make), and this will install cano on your system. There are also build scripts (such as ./debian-install.sh) for installing on different types of systems.

This is of course assuming that I don't misunderstand your post. If so then let me know.

Clo612 commented 3 months ago

@CobbCoding1 I am saying If for example you type "cano text.txt" and it opens up the text editor rather than going to the Cano directory "cd Cano" and then typing "./build/Cano text.txt" Instead then in any directory you can just type "Cano text.txt" I have an example attached. Screenshot 2024-06-05 7 41 00 PM

CobbCoding1 commented 3 months ago

yes, to get this functionality it needs to be accessible on your system's PATH. You can get this by installing it on your system, using either make install or using one of the installation methods (not just building it) laid out in the README.

Clo612 commented 3 months ago

You should make it pre made already installed, for those who don't wanna go through the work.

CobbCoding1 commented 3 months ago

I can't install it on your system unless you install it.

Clo612 commented 3 months ago

I am just going to mark this issue closed and work on my own fix. Maybe even present it to you.