Skip to main content

Package description here.

Project description

nr.powerline

Simple powerline implementation, only tested in Bash. It is recommended that you use a font from NerdFonts in order to have proper support for special characters (like the right triangle).

Requirements

  • Bash
  • Pipx
  • Python 3.5+
  • Linux/macOS
  • jq

Installation

$ pipx install nr.powerline
$ source <(nr-powerline --src bash)

On OSX, sourcing a Bash script from /dev/<fd> seems to have some issues, so you may need to write it to a temporary file instead.

if which nr-powerline >/dev/null; then
  function _activate_powerline() {
    local TMP=`mktemp`; trap "rm -f $TMP" RETURN
    nr-powerline --src bash>$TMP
    source $TMP
  }
  _activate_powerline
fi

Copyright © 2020 Niklas Rosenstein

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nr.powerline-0.0.10.tar.gz (10.0 kB view details)

Uploaded Source

File details

Details for the file nr.powerline-0.0.10.tar.gz.

File metadata

  • Download URL: nr.powerline-0.0.10.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

File hashes

Hashes for nr.powerline-0.0.10.tar.gz
Algorithm Hash digest
SHA256 7c34e51e3074f491cba19c15c2df0d45e6dac6e4db746872c61494abd7f64fe2
MD5 b8e149e1761784466f595209c8753203
BLAKE2b-256 75b5a9d29ab2c92e55bc25636ff21943eac2d7bba2f1d9ed7f24de324e6a3abc

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page