Skip to content

alvarocebrian/pit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PIT

PIT is an application and a set of bash scripts ment to improve common tasks in console.

This version is very little and does not offer great functionalities or garanties.

Installation

PIT is formed by a couple of parts: the application, written in C, that is the core and a set of bash scripts that extends the functionality.

Installing application

From pit/application directory

make
make install

Installing bash scripts

From pit/scripts directory

./install.sh

In your ~/.bashrc include

source /usr/share/pit/pit

Functionalities

pit path

Allows to create a path alias. You can use it then with cd command.

# Create path alias
pit path add myPath /my/custom/path

# Use path alias
cd myPath

pit cmd

Allows to create an script command. You can write the script in any script languaje as long as you include the shebang

# Create a new script command
pit cmd add myCommand
#!/bin/bash

echo This is myCommand

pit exec

Allows to execute script commands created by pit cmd

# Execute script command
pit exec myCommand

Limitations

It has only been tested in Ubuntu Linux and bash

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 96.8%
  • Makefile 1.6%
  • Shell 1.6%