add powerline shell app

pull/155/head
Botspot 4 years ago
parent 813d687cb8
commit db0fa1cff5

@ -0,0 +1,2 @@
Installation Script Created By RPICoder
Added To Pi Apps By Botspot

@ -0,0 +1,7 @@
A beautiful and useful prompt generator for Bash, ZSH, Fish, and tcsh:
-Shows some important details about the git/svn/hg/fossil 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
-It's easy to customize and extend.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

@ -0,0 +1,14 @@
#!/bin/bash
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
function error {
echo -e "\\e[91m$1\\e[39m"
exit 1
}
# Get dependencies
"${DIRECTORY}/pkg-install" "python3 python-pip fonts-powerline fonts-fantasque-sans" "$(dirname "$0")" || exit 1
wget -qO- https://raw.githubusercontent.com/techcoder20/RPI-PowerlineShell-Installer/main/install.sh | bash || error "install.sh failed!"

@ -0,0 +1,13 @@
#!/bin/bash
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
function error {
echo -e "\\e[91m$1\\e[39m"
exit 1
}
#if your app installs any packages, keep this command here so those packages will be removed.
"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1
wget -qO- https://raw.githubusercontent.com/techcoder20/RPI-PowerlineShell-Installer/main/uninstall.sh | bash || error "uninstall.sh failed!"

@ -0,0 +1 @@
https://github.com/techcoder20/RPI-PowerlineShell-Installer.git
Loading…
Cancel
Save