[ Source: powerline-go ]
Package: powerline-go (1.25-2 and others)
Links for powerline-go
Debian Resources:
Download Source Package powerline-go:
Maintainers:
External Resources:
- Homepage [github.com]
Similar packages:
Powerline style prompt for your shell: Bash, ZSH and Fish
- Shows some important details about the git/hg branch - Changes color if the last command exited with a failure code - If you're too deep into a directory tree, shortens the displayed path with an ellipsis - Shows the current Python virtualenv environment - Shows the current Ruby version using rbenv or rvm - Shows if you are in a nix shell - It's easy to customize and extend.
To use it, add the following to your ~/.bashrc:
function _update_ps1() { PS1="$(/usr/bin/powerline-go -error $? -jobs $(jobs -p | wc -l))"
# Uncomment the following line to automatically clear errors after showing # them once. This not only clears the error for powerline-go, but also for # everything else you run in that shell. Don't enable this if you're not # sure this is what you want.
#set "?" }
if [ "$TERM" != "linux" ] && [ -f "/usr/bin/powerline-go" ]; then PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND" fi
Or to your ~/.zshrc:
function powerline_precmd() { PS1="$(/usr/bin/powerline-go -error $? -jobs ${${(%):%j}:-0})"
# Uncomment the following line to automatically clear errors after showing # them once. This not only clears the error for powerline-go, but also for # everything else you run in that shell. Don't enable this if you're not # sure this is what you want.
#set "?" }
function install_powerline_precmd() { for s in "${precmd_functions[@]}"; do if [ "$s" = "powerline_precmd" ]; then return fi done precmd_functions+=(powerline_precmd) }
if [ "$TERM" != "linux" ] && [ -f "/usr/bin/powerline-go" ]; then install_powerline_precmd fi
For fish, redefine fish_prompt in ~/.config/fish/config.fish:
function fish_prompt eval /usr/bin/powerline-go -error $status -jobs (count (jobs -p)) end
Other Packages Related to powerline-go
|
|
|
|
-
- dep: libc6 (>= 2.34)
- GNU C Library: Shared libraries
also a virtual package provided by libc6-udeb
-
- rec: fonts-powerline
- prompt and statusline utility (symbols font)
Download powerline-go
Architecture | Version | Package Size | Installed Size | Files |
---|---|---|---|---|
amd64 | 1.25-2+b2 | 1,148.2 kB | 3,683.0 kB | [list of files] |
arm64 | 1.25-2+b2 | 984.9 kB | 3,495.0 kB | [list of files] |
armhf | 1.25-2+b2 | 996.9 kB | 3,367.0 kB | [list of files] |
i386 | 1.25-2+b2 | 1,089.4 kB | 3,302.0 kB | [list of files] |
ppc64el | 1.25-2+b2 | 984.8 kB | 3,687.0 kB | [list of files] |
riscv64 | 1.25-2+b2 | 1,006.4 kB | 3,559.0 kB | [list of files] |
s390x | 1.25-2+b2 | 1,038.6 kB | 3,879.0 kB | [list of files] |