1
0
mirror of https://gitlab.com/klmp200/fish.git synced 2024-11-14 21:03:21 +00:00
fish/fish_shell/fish_settings.h
2017-06-19 13:45:06 +02:00

23 lines
494 B
C

#ifndef FISH_FISH_SETTINGS_H
#define FISH_FISH_SETTINGS_H
#include "fish_core.h"
#define FISH_RC_FILE "/.fishrc"
#define FISH_RC_FILE_SIZE 8
/* Get settings */
Settings * getSettings(); //TESTEDssssss
/* Free settings */
void freeSettings(Settings *settings); //TESTED
/* Extract a given variable from a given file */
char* extractVariable(char* filename, char* var);//TESTED
/* Correctly print PS1 and PS2 variable */
void printPS(char* PS, Settings* s);
#endif //FISH_FISH_SETTINGS_H