-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebian-setup.sh
26 lines (19 loc) · 1.06 KB
/
debian-setup.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
sudo wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh
sudo chmod +x /usr/local/bin/oh-my-posh
mkdir ~/.poshthemes
wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/themes.zip -O ~/.poshthemes/themes.zip
unzip ~/.poshthemes/themes.zip -d ~/.poshthemes
chmod u+rw ~/.poshthemes/*.json
rm ~/.poshthemes/themes.zip
cp poshtheme.omp.json ~/.poshthemes/saulens22.omp.json
echo 'eval "$(oh-my-posh --init --shell bash --config ~/.poshthemes/saulens22.omp.json)"' >> ~/.bashrc
echo "bind 'TAB:menu-complete'" >> ~/.bashrc
echo 'bind "set show-all-if-ambiguous on"' >> ~/.bashrc
echo 'bind "set menu-complete-display-prefix on"' >> ~/.bashrc
sudo cp -r ./nerdfonts /usr/share/fonts/truetype/nerdfonts
mkdir ~/btop-install && cd ~/btop-install
wget https://github.com/aristocratos/btop/releases/latest/download/btop-x86_64-linux-musl.tbz
tar -xjf btop-x86_64-linux-musl.tbz
sudo make install
echo "alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail'" >> ~/.bashrc
source ~/.bashrc