mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
feat: automatic logout from shells
This commit is contained in:
@@ -18,6 +18,9 @@
|
||||
## TL;DR
|
||||
|
||||
```sh
|
||||
# Logout after 3 minutes of inactivity.
|
||||
TMOUT=180
|
||||
|
||||
# Declare arrays.
|
||||
ARRAY=(
|
||||
"first_element"
|
||||
|
||||
@@ -51,6 +51,9 @@ Exit files load sequence:
|
||||
Aliases are expanded when the function definition is parsed, not when the function is executed. Define aliases **before** functions to avoid problems.
|
||||
|
||||
```sh
|
||||
# Logout after 3 minutes of inactivity.
|
||||
TMOUT=180
|
||||
|
||||
# Quoting.
|
||||
"$scalar"
|
||||
"${array[@]}"
|
||||
|
||||
Reference in New Issue
Block a user