Livl Shell
0.1
Livl Shell is an intermediate reimplementation of the bash shell in C language.
|
File containing the functions to manage (load & save, etc.) the history of commands entered by the user to a file. More...
#include <stdio.h>
#include <stdlib.h>
#include "typedef.h"
#include <string.h>
#include "constants.h"
Go to the source code of this file.
Functions | |
void | init_command_history () |
Initialize the global command history. | |
void | add_to_command_history (const char *command) |
Add a command to the global command history. More... | |
void | save_command_history_to_file () |
Save the command history to the history file. | |
void | load_command_history_from_file () |
Load the command history from the history file. | |
File containing the functions to manage (load & save, etc.) the history of commands entered by the user to a file.
void add_to_command_history | ( | const char * | command | ) |
Add a command to the global command history.
command | The command to be added |