ulyssa / iamb

A Matrix client for Vim addicts
https://iamb.chat
Apache License 2.0
608 stars 45 forks source link

cannot set custom config #289

Closed tjex closed 4 months ago

tjex commented 4 months ago

OS/Arch: MacOS 14.4 - Darwin M1

Steps:

mkdir -p ~/.config/iamb/
touch ~/.config/iamb/config.toml

Populate config.toml with:

[profiles.user]
user_id = "@tjex:envs.net"
$ iamb -C ~/.config/iamb/config.toml
Please create a configuration file at /Users/tjex/.config/iamb/config.toml/iamb/config.toml

For more information try '--help'
$ iamb -C ~/.config/iamb/
Please create a configuration file at /Users/tjex/.config/iamb/iamb/config.toml

For more information try '--help'
tjex commented 4 months ago

in the end the base dir for config need to be declared, and not the dir for the config itself:

iamb -C ~/.config is correct. Inside ~/.config is iamb/config.toml