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 (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
Project details
Release history Release notifications | RSS feed
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.1.1.tar.gz
(10.9 kB
view details)
Built Distribution
File details
Details for the file nr.powerline-0.1.1.tar.gz
.
File metadata
- Download URL: nr.powerline-0.1.1.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cdf462c75893e55bfe89d14e11ec5c3f7ac8e1e75880e2ba23b83cd808abed6 |
|
MD5 | a56a46715e7f261519993814d6c1a7e0 |
|
BLAKE2b-256 | f05029fe66907fbe3a69875f580d4e62041eab4c92d4f5771a983304795ecb2d |
Provenance
File details
Details for the file nr.powerline-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: nr.powerline-0.1.1-py3-none-any.whl
- Upload date:
- Size: 21.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed3a9d358a4eb80d178f6effbaa140b42cfa569ae26cde320f8b0c147bc9472c |
|
MD5 | cfd78eee5240a5272722ef68c7f9341c |
|
BLAKE2b-256 | 4a3aae1c60712de1416c49393b3c39091f83f511ea989d211a6dc17fcce474bf |