pingcap / tiup

A component manager for TiDB

Home Page:https://tiup.io

Repository from Github https://github.compingcap/tiupRepository from Github https://github.compingcap/tiup

Command tiup not found in new window of Konsole

boilingoden opened this issue · comments

Bug Report

  1. What did you do?
  • install TiDB locally in Fedora
  • open new window in Konsole
  • ran tiup
  1. What did you expect to see?
  • be able to find tiup command
  • more info in the documentation
  1. What did you see instead?
  • encountering command "tiup" not found
  1. 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
  1. 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)