Introduction
Introduction Statistics Contact Development Disclaimer Help
[st][patches][option] Fixed index.md - sites - public wiki contents of suckless…
git clone git://git.suckless.org/sites
Log
Files
Refs
---
commit 1e2d2122823de78b4aaf49c25310f30efe0c5896
parent 3da6d4f79249d171dd2d5db7224f25ae2222db39
Author: elbachir-one <[email protected]>
Date: Mon, 7 Apr 2025 02:13:29 +0100
[st][patches][option] Fixed index.md
Diffstat:
M st.suckless.org/patches/option/ind… | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/st.suckless.org/patches/option/index.md b/st.suckless.org/patches/…
@@ -1,18 +1,19 @@
option
-=========
+======
Description
-----------
-This patch adds variable called `option` to config.def.h so st can run shell w…
+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 source…
+Now st runs `ash` with the `-l` argument, so `ash` starts as a login shell and…
+the `/etc/profile.d/` files.
[![ash-uses-profile.d-scripts](st-option-preview-grayscale.png)](st-option.png)
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.