deb_control_files:
- control
- md5sums
deb_fields:
Architecture: amd64
Built-Using: golang-1.23 (= 1.23.5-1), golang-github-mattn-go-runewidth (= 0.0.15-2),
golang-github-rivo-uniseg (= 0.4.7-1), golang-github-shirou-gopsutil (= 4.24.9-2),
golang-github-tklauser-go-sysconf (= 0.3.11-1), golang-github-tklauser-numcpus
(= 0.3.0-2), golang-golang-x-sys (= 0.22.0-1), golang-golang-x-term (= 0.22.0-1),
golang-golang-x-text (= 0.16.0-1), golang-gopkg-ini.v1 (= 1.67.0-1), golang-yaml.v2
(= 2.4.0-4)
Depends: libc6 (>= 2.34)
Description: |-
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="$($GOPATH/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 "$GOPATH/bin/powerline-go" ]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
.
Or to your ~/.zshrc:
function powerline_precmd() {
PS1="$($GOPATH/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 "$GOPATH/bin/powerline-go" ]; then
install_powerline_precmd
fi
.
For fish, redefine fish_prompt in ~/.config/fish/config.fish:
function fish_prompt
eval $GOPATH/bin/powerline-go -error $status -jobs (count (jobs -p))
end
Homepage: https://github.com/justjanne/powerline-go
Installed-Size: '3438'
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Package: powerline-go
Priority: optional
Recommends: fonts-powerline
Section: utils
Version: 1.25-1
srcpkg_name: powerline-go
srcpkg_version: 1.25-1