Skip to content

[1.6.1][Bug] Broken bash history and inconsistent locale/date format in SSH #489

@nephthys

Description

@nephthys

Hi,

I just did a clean install of ZimaOS 1.6.1, I enabled SSH and I noticed two things:

  • The bash command history doesn't work by default, even though I've seen that there's code for it in /DATA/.bashrc ("Configures command history" "HISTSIZE=1000" "HISTFILESIZE=2000" "HISTCONTROL=ignoreboth" "shopt -s histappend")

To make this work, I had to create ~/.bash_history (which didn't exist by default) and modify ~/.bash_profile:

touch ~/.bash_history
chmod 600 ~/.bash_history
export HISTFILE=~/.bash_history
PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
  • Finally, the language and date format of the ZimaOS interface aren't the same over SSH. I set the language to English US, time format to 24 hours & timezone to Europe/Paris in the ZimaOS settings, and I get this in SSH:
date
Tue Apr 28 12:39:50 PM CEST 2026

The only solution found was to create a date alias because the locale-gen command doesn't exist, and changing the LANG and LC_TIME variables has no effect.

Thanks anyway for your hard work on ZimaOS (it's improved a lot since the last time I tried it) ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions