double slash using ${weechat_config_dir}
weechatter opened this issue · comments
Nils Görs commented
Describe the bug
WeeChat does not check if a slash already exists in ${weechat_config_dir}
Steps to reproduce
- start weechat with weechat -d ~/.weechat/ (with the trailing slash)
- /eval -n ${weechat_config_dir}/ecdsa.pem
Current behavior
/eval -n ${weechat_config_dir}/ecdsa.pem
== [/home/pi/.weechat//ecdsa.pem]
Expected behavior
/eval -n ${weechat_config_dir}/ecdsa.pem
== [/home/pi/.weechat/ecdsa.pem]
Suggested solutions
No response
Additional information
No response
WeeChat version
4.3.0-dev
What OS are you using?
raspbian
On which terminal are you running WeeChat?
konsole
Which terminal multiplexer are you using?
tmux