Livl Shell
0.1
Livl Shell is an intermediate reimplementation of the bash shell in C language.
|
Managing livl-shell aliases. More...
#include "constants.h"
#include "typedef.h"
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include "utils.h"
Go to the source code of this file.
Functions | |
void | init_aliases () |
Initialize aliases from file. | |
int | is_alias (const char *name, char *command) |
Try to get an alias for a given name. More... | |
void | free_aliases () |
Free aliases. | |
void | parse_aliases (char *input) |
Parse the input to replace aliases. More... | |
Managing livl-shell aliases.
int is_alias | ( | const char * | name, |
char * | command | ||
) |
Try to get an alias for a given name.
name | The name of the alias |
command | The string will be filled with the alias command if exist |
void parse_aliases | ( | char * | input | ) |
Parse the input to replace aliases.
input | The input string |