jovanbulck / jsh

A basic UNIX shell implementation in C
GNU General Public License v3.0
30 stars 10 forks source link

Support history expansion #7

Closed jovanbulck closed 9 years ago

jovanbulck commented 9 years ago

e.g. !! will be expanded to the previous entered command

use the GNU history library? --> see http://tiswww.case.edu/php/chet/readline/history.html#SEC3

jovanbulck commented 9 years ago

Checkout the master branch. It works now :-) Thanks to @Wouter92 :+1: Also try out an errourness history expansion command e.g. !!:0:::: --> an informative error message will be printed