maxishell
Implementation of a shell for Linux-like systems
Loading...
Searching...
No Matches
aux.c File Reference
#include "tokens.h"
Include dependency graph for aux.c:

Go to the source code of this file.

Functions

void make_history (char *line)
 

Function Documentation

◆ make_history()

void make_history ( char *  line)

Definition at line 15 of file aux.c.

16{
17 if (*line)
18 add_history(line);
19 write_history(HISTORY_PATH);
20}
#define HISTORY_PATH
Definition tokens.h:27

References HISTORY_PATH.

Referenced by main_loop().

Here is the caller graph for this function: