Terminal with Powerline



By default, the shell plugin gives you plenty of helpful data:

  • Login name
  • Local time
  • Current working directory or path. The path is condensed automatically when it grows longer than the terminal width.
  • The number of active background jobs
  • The hostname, when you connect via SSH to a remote system where powerline is installed
This saves you a lot of twiddling with your shell environment and complex scripting! To install the utility, open a terminal and run this command:
sudo dnf install powerline
The rest of these instructions assume you’re using Fedora’s standard bash shell. If you’re using a different shell, check out the documentation for tips.
Next, configure your bash shell to use powerline by default. Add the following snippet to your ~/.bashrc file:
if [ -f `which powerline-daemon` ]; then           powerline-daemon -q           POWERLINE_BASH_CONTINUATION=1           POWERLINE_BASH_SELECT=1           . /usr/share/powerline/bash/powerline.sh fi
Done.


Note : Source

Comments

Popular posts from this blog

Byobu : Japanese term for decorative