diff options
| author | 2024-09-10 11:29:43 -0400 | |
|---|---|---|
| committer | 2024-09-10 11:31:20 -0400 | |
| commit | a0ff5b10f1307c12ffd464850eeec3ec66e2770f (patch) | |
| tree | cf9347863fe24ca58bdcb9650f5f7bdcbad6e28b /.lush/init.lua | |
| parent | added coloring to help command (diff) | |
lua api functions for getting terminal width and height
Diffstat (limited to '.lush/init.lua')
| -rw-r--r-- | .lush/init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.lush/init.lua b/.lush/init.lua index 5446dd0..d3166d7 100644 --- a/.lush/init.lua +++ b/.lush/init.lua @@ -24,6 +24,7 @@ lush.setenv("PATH", path) -- the prompt can be customized here too -- %u is username, %h is hostname, %w is current working directory +-- %t is current time in hr:min:sec, %d is date in MM/DD/YYYY lush.setPrompt("[%u@%h: %w]") -- aliases can be defined using the alias method by passing the alias name |
