Skip to main content

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 (If not available, the environment variables cannot be sent from Bash to the powerline server)

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

Metadata

Release files for nr.powerline 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nr.powerline 0.1.2
File Size Uploaded
nr.powerline-0.1.2.tar.gz 11.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nr.powerline 0.1.2
File Interpreter ABI Platform
nr.powerline-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 30.0 kB

Release files / nr.powerline-0.1.2.tar.gz

Download URL nr.powerline-0.1.2.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
75d2616a06f15f24a5cd6386f2c4181fe909979d7da9286b6bedae92274674a2
BLAKE2b-256 checksum
How to use checksums
60a9a9b83626e3892987134c759774fde5d817f334482fc1925fb53e1cddac66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

Release files / nr.powerline-0.1.2-py3-none-any.whl

Download URL nr.powerline-0.1.2-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af85b54a7fafe23e99847239a2a71655c74a821e8734f9e66db021d0965ec2c6
BLAKE2b-256 checksum
How to use checksums
c226984a86560445afa4e4d2c0eecc88dba139c67e73aa873a4eb2d34eee8597
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.0.11

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page