commit 8a18bcd346fc146e104f77d3a3362a52db210bc3
Author: Lucien Cartier-Tilet <lucien@phundrak.com>
Date: Tue Dec 21 00:06:45 2021 +0100
Change `eshell-info-banner--shell-command-to-string' to function
`eshell-info-banner--shell-command-to-string' being a macro causes
problems in at least `eshell-info-banner--get-memory-unix'.
This commit makes `eshell-info-banner--shell-command-to-string' a
regular function.
commit 981b42c3f530a314990b0d69a6efa9f0bb4957dc
Author: Lucien Cartier-Tilet <lucien@phundrak.com>
Date: Mon Dec 20 23:29:17 2021 +0100
Fix variables preceeding commands on non-POSIX shells
This commit introduces a fix to run commands only on POSIX-compliant
shells defined in the new constant `eshell-info-banner--posix-shells'.
If any is found on the machine, the command will be run through it,
otherwise it will default to `sh'.
commit 364e0f5189471ca3d568638144c208a255808e76
Author: Lucien Cartier-Tilet <lucien@phundrak.com>
Date: Mon Dec 20 23:12:15 2021 +0100
Fix setting locale when the default shell is non-POSIX compliant
In some cases, the default shell does not accept any environment
variables preceeding the command, such as:
LANG=C uptime
For instance, tcsh on DragonFly BSD reports
LANG=C: Command not found.
This commit makes the command run on bash, zsh, or sh.
Squashed commit of the following:
commit e11e3cbbd04c9c693d6e48f72e9ea99b64a83556
Author: Lucien Cartier-Tilet <lucien@phundrak.com>
Date: Sun Dec 19 18:34:09 2021 +0100
Multiply by 2014 to go from Kilobytes to Bytes
commit 786c9bbfdfd8a1fc6d6b21ea92ac8252b9dd0a50
Author: Lucien Cartier-Tilet <lucien@phundrak.com>
Date: Sun Dec 19 18:23:21 2021 +0100
Read in /proc/meminfo to get used/available memory
Apparently NetBSD doesn’t properly implement hw.usermem.
Also it needs to read hw.physmem64 instead of hw.physmem with sysctl
commit c9e7b8cadfcbfb877f180a9c89ee9d87f271d17c
Author: Lucien Cartier-Tilet <lucien@phundrak.com>
Date: Sun Dec 19 17:50:24 2021 +0100
Why doesn’t `last' return the last /element/?
commit f2248810132813191ebdd11f739d24bcc49f3165
Author: Lucien Cartier-Tilet <lucien@phundrak.com>
Date: Sun Dec 19 17:46:33 2021 +0100
Fix RAM detection on NetBSD
2021-12-19 18:35:59 +01:00
2 changed files with 106 additions and 25 deletions
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.