Command tiup not found in new window of Konsole
boilingoden opened this issue · comments
Bug Report
- What did you do?
- install TiDB locally in Fedora
- open new window in Konsole
- ran
tiup
- What did you expect to see?
- be able to find
tiup
command - more info in the documentation
- What did you see instead?
- encountering
command "tiup" not found
- What version of TiUP are you using (
tiup --version
)?
1.15.2 v1.15.0-nightly-19
Go Version: go1.21.10
Git Ref: master
GitHash: 901a375541eac343d2502040a5a8d3a14489581a
- How to fix it?
- restart :D
it seems that in the new window/tab of Konsole, it only reads .bashrc
because it's a non-login shell.
but after restart the OS (or maybe it can be just a logout-login), I could see tiup
path in the $PATH
in Konsole.
(adding the line in .bashrc
make a repetition of it after restart. so not a good idea)