mirror of https://github.com/n05la3/cmdtypist
program restructured, moved to folders
parent
58d3c55ea0
commit
eb0871909a
@ -1,34 +0,0 @@
|
||||
INSTALLATION:
|
||||
============
|
||||
|
||||
Open a terminal and navigate to the directory containing cmdtypist and all
|
||||
it's files.
|
||||
-In the directory, run the command
|
||||
|
||||
./install.sh
|
||||
to install the program. Enter password to complete installation.
|
||||
|
||||
Alternatively, you can use cmdtypist without running the ./install.sh script.
|
||||
You will need to navigate to the program directory each time you want to run
|
||||
it. install.sh helps you run it from any directory.
|
||||
|
||||
RUNNING:
|
||||
=======
|
||||
|
||||
If you successfully executed the install.sh script, then you can run cmdtypist
|
||||
using the command
|
||||
|
||||
begin; cmdtypist argument1 argument2 argument3
|
||||
|
||||
where argument is a valid cmdtypist argument, to know all valid arguments run
|
||||
the cmdtypist help command or consult the help file which comes with the
|
||||
program.
|
||||
|
||||
Note that the begin command must be followed by a semicon as shown above.
|
||||
begin helps you navigate to cmdtypist directory. Alternative, you can first
|
||||
run begin to get into cmdtypist direcoty and then run cmdtypist.
|
||||
|
||||
If running cmdtypist produces a "Fatal error: some files are missing error"
|
||||
then you probably did not run with begin; or some files have been deleted or
|
||||
cannot be found.
|
||||
|
@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
#Creates a symbolic link with begin to cmdtypist directory.
|
||||
echo "Enter password to create a link for cmdtypist and access it from any directory" &&
|
||||
sudo gcc cmdtypist.c -o cmdtypist &&
|
||||
echo >> $HOME/.bashrc &&
|
||||
echo "#symbolic link for cmdtypist">> $HOME/.bashrc &&
|
||||
echo "alias begin='cd $HOME/cmdtypist/'">> $HOME/.bashrc &&
|
||||
echo "alias cmdtypist='$HOME/cmdtypist/cmdtypist'">> $HOME/.bashrc &&
|
||||
mkdir $HOME/cmtypist/
|
||||
cp -r . $HOME/cmtypist/
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue