update: added more internal variables
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
/* By: sede-san <sede-san@student.42madrid.com +#+ +:+ +#+ */
|
/* By: sede-san <sede-san@student.42madrid.com +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2026/02/13 21:29:43 by sede-san #+# #+# */
|
/* Created: 2026/02/13 21:29:43 by sede-san #+# #+# */
|
||||||
/* Updated: 2026/02/14 01:39:36 by sede-san ### ########.fr */
|
/* Updated: 2026/02/14 15:17:17 by sede-san ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@@ -115,6 +115,9 @@ void set_intp(
|
|||||||
return ;
|
return ;
|
||||||
set_int("?", "0", minishell);
|
set_int("?", "0", minishell);
|
||||||
set_int("_", "minishell", minishell);
|
set_int("_", "minishell", minishell);
|
||||||
|
set_int("PS0", "", minishell);
|
||||||
set_int("PS1", DEFAULT_PS1, minishell);
|
set_int("PS1", DEFAULT_PS1, minishell);
|
||||||
set_int("PS2", DEFAULT_PS2, minishell);
|
set_int("PS2", DEFAULT_PS2, minishell);
|
||||||
|
set_int("MINISHELL", "minishell", minishell);
|
||||||
|
set_int("MINISHELL_VERSION", MINISHELL_VERSION, minishell);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user