[wiki] [sites] [st][patches][option] Fixed index.md || elbachir-one
commit 1e2d2122823de78b4aaf49c25310f30efe0c5896
Author: elbachir-one <bachiralfa_AT_gmail.com>
Date: Mon Apr 7 02:13:29 2025 +0100
[st][patches][option] Fixed index.md
diff --git a/st.suckless.org/patches/option/index.md b/st.suckless.org/patches/option/index.md
index c0c320fc..51b9fc55 100644
--- a/st.suckless.org/patches/option/index.md
+++ b/st.suckless.org/patches/option/index.md
_AT_@ -1,18 +1,19 @@
option
-=========
+======
Description
-----------
-This patch adds variable called `option` to config.def.h so st can run shell with argument.
+This patch adds a variable called `option` to `config.def.h`,
+allowing st to run the shell with an argument.
+#### Example
-Example
--------
`static char *shell = "/usr/bin/ash";`
`char *option = "-l";`
-so now st runs ash with `-l` argument so ash opens as login shell so it sources /etc/profile.d/ files.
+Now st runs `ash` with the `-l` argument, so `ash` starts as a login shell and sources
+the `/etc/profile.d/` files.
[](st-option.png)
Received on Mon Apr 07 2025 - 03:15:53 CEST
This archive was generated by hypermail 2.3.0
: Mon Apr 07 2025 - 03:24:56 CEST