Skip to content

arf.toml is ignored on Linux #91

@atsyplenkov

Description

@atsyplenkov

Session information (:info output)

# Session Information

arf version:    0.2.3
OS:             linux (x86_64)
Config file:    ~/.config/arf/arf.toml
R version:      4.5.2
R_HOME:         /opt/R/next/lib/R
R source:       rig (R 4.5.2)

rig:            installed (4.4.3, 4.5.1, next*)
air:            installed

Current mode:   R

R history:      ~/.local/share/arf/history/r.db
Shell history:  ~/.local/share/arf/history/shell.db

## Environment Variables

R_LIBS_USER:    ~/R/x86_64-pc-linux-gnu-library/4.5
R_LIBS_SITE:    /opt/R/next/lib/R/site-library

Description

Changing settings in arf.toml does not affect the arf itself. For example, I have set show_banner = false and modified some hotkeys, but neither change is reflected in arf. I have restarted both the shell and arf multiple times.

Steps to reproduce

  1. Generate the default configuration using arf config init.
  2. Update the configuration file. For example:
[startup]
r_source = "auto"
show_banner = false
  1. Run arf with the configuration flag: arf -c ~/.config/arf/arf.toml.

Expected behavior

The banner should be hidden

❮ arf -c ~/.config/arf/arf.toml
R 4.5.2> :quit

Actual behavior

❮ arf -c ~/.config/arf/arf.toml
# arf console v0.2.3
# Edit mode: emacs
# R 4.5.2 is ready.
# Type :cmds for meta commands list, Ctrl+D to exit.
R 4.5.2> :quit

Additional context

Meanwhile, the --no-banner flag does work

❮ arf --no-banner
R 4.5.2> :quit

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions