Skip to content

Itai-Nelken/ish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ish - a simple shell written in C

Installing

To install for Debian/Ubuntu based distributions:

To download for Debian/Ubuntu based distributions, simply go to Github releases and install the package through dpkg or apt.

To compile from source:

Compile from source when the .deb isn't useful for your distribution.

Building:

Dependencies:

  • Readline - Install libreadline-dev
  • A C compiler like gcc
  • make
  • Cmake version 3.16 and later

While inside the root of the ish folder, run:

mkdir build
cd build
cmake ..
make

Installing:

To install to /usr/local/bin, run the command sudo make install.

Optional - Packaging:

While inside the build folder of ish, run:

  • Debian package: cpack -G DEB

TODO

  • use different library for reading lines (custom? linenoise?) because I want a static library that compiles fast.