We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61b16cc commit 3e83878Copy full SHA for 3e83878
include/common.h
@@ -7,6 +7,7 @@
7
#include <stdarg.h>
8
#include <termios.h>
9
#include <fcntl.h>
10
+#include <ctype.h>
11
#include <time.h>
12
13
#include <sys/wait.h>
@@ -32,7 +33,7 @@
32
33
34
#define STRING(_x) #_x
35
-#define SESSION_ID_MAX_LEN 16
36
+#define SESSION_ID_MAX_LEN 16 // it's represented as date ddmmyyyyHHMM
37
38
extern char* prompt_basename;
39
extern history_t* history;
@@ -62,13 +63,12 @@ extern const unsigned int SPEC_SYMBOLS_NUM;
62
63
64
// commands aliases
65
typedef enum cmds_aliases {
- ECHO_CMD,
66
- LS_CMD,
67
- CAT_CMD,
68
- PWD_CMD,
69
- CLEAR_CMD,
70
EXIT_CMD,
+
+ // settings
71
CHANGE_PB_CMD,
+ // information
72
CMDS_LIST_CMD,
73
74
// history commands
0 commit comments