-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall-powerline-arch.sh
executable file
·33 lines (24 loc) · 1.12 KB
/
install-powerline-arch.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#! /bin/bash
set -e
# Powerline-Shell Url: https://github.com/b-ryan/powerline-shell
##################################################################################################################
# Author : John da Eira
# Email : [email protected]
##################################################################################################################
# Install and Upgrade pip
sudo pacman -S python-pip --noconfirm --needed
sudo pip install --upgrade pip
# Install Powerline Fonts
yay -S --noconfirm powerline-fonts
# Install Powerline Shell
sudo pip install powerline-shell
# Make the Configuration Directory
mkdir -p ~/.config/powerline-shell && \
powerline-shell --generate-config > ~/.config/powerline-shell/config.json
# Add Powerline Shell Code to Bash File
sudo cat config-file >> ~/.bashrc
# Move Custom Powerline Shell Files to Configuration Folder
cp powerline-shell/* ~/.config/powerline-shell
echo "***************************************************************"
echo "**************** PowerLine Shell Installed ****************"
echo "***************************************************************"