-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall.sh
57 lines (50 loc) · 2.19 KB
/
install.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/bash
# Function to display colored ASCII art
display_ascii_art() {
echo -e "\e[1;34m"
echo "---------------------------------------------------------"
echo " /$$$$$$$ /$$$$$$$$ "
echo "| $$__ $$ |__ $$__/ "
echo "| $$ \\ $$ /$$$$$$ /$$ /$$| $$ /$$$$$$ /$$$$$$ /$$$$$$/$$$$"
echo "| $$$$$$$/ |____ $$| $$ | $$| $$ /$$__ $$ /$$__ $$| $$_ $$_ $$"
echo "| $$__ $$ /$$$$$$$| $$ | $$| $$| $$$$$$$$| $$ \\__/| $$ \\ $$ \\ $$"
echo "| $$ \\ $$ /$$__ $$| $$ | $$| $$| $$_____/| $$ | $$ | $$ | $$"
echo "| $$ | $$| $$$$$$$| $$$$$$$| $$| $$$$$$$| $$ | $$ | $$ | $$"
echo "|__/ |__/ \\_______/ \\____ $$|__/ \\_______/|__/ |__/ |__/ |__/"
echo " /$$ | $$ "
echo " | $$$$$$/ "
echo " \\______/ "
echo "---------------------------------------------------------"
echo -e "\e[0m"
}
# Display ASCII art
display_ascii_art
git clone --recursive https://github.com/rayanramoul/RayTerm.git ~/RayTerm
# cd into RayTerm
cd ~/RayTerm/dotfiles
# copy dotfiles from RayTerm/dotfiles to ~
# cp -r dotfiles/.* ~
stow -v -t ~ dotfiles
# reminders on what to install
# test if on archlinux or debian
if [ -f /etc/arch-release ]; then
# test if yay is installed if not install it
if ! command -v yay &> /dev/null
then
echo "yay could not be found"
echo "Please install yay"
exit
fi
yay -S neovim python-pip bpytop zsh git tmux fzf bat fd ripgrep tldr ulauncher
# if ubuntu or debian
if [ -f /etc/debian_version ]; then
sudo apt install neovim python3-pip bpytop zsh git tmux fzf bat fd-find ripgrep tldr ulauncher
fi
if [ -f /etc/fedora-release ]; then
sudo dnf install neovim python3-pip bpytop zsh git tmux fzf bat fd-find ripgrep tldr ulauncher
fi
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh -p $HOME/miniconda3 -b
# End message
echo "Done! Enjoy your new terminal setup!"