chris-marsh / pureline

A Pure Bash Powerline PS1 Command Prompt
MIT License
501 stars 94 forks source link

segments are not found #86

Closed Oumar-1 closed 1 year ago

Oumar-1 commented 1 year ago

Hello, I am having an issue with the pureline package that I recently installed. I followed the documentation and moved the pureline directory to .config/terminal/pureline and the .pureline.conf file to the same directory. However, when I try to run pureline, I am getting an error that states:

-bash: battery_segment: command not found -bash: ssh_segment: command not found -bash: screen_session_segment: command not found -bash: virtual_env_segment: command not found -bash: conda_env_segment: command not found -bash: aws_profile_segment: command not found -bash: kubernetes_segment: command not found -bash: git_segment: command not found -bash: duration_segment: command not found I am new to terminal and would appreciate any help in resolving this issue.

Oumar-1 commented 1 year ago

i have fixed it by adding the segments folder into $PATH just by adding this line into .bashrc file export PATH="$HOME/.config/terminal/pureline/segments:$PATH" i hope this gonna help anyone