mirror of https://github.com/einverne/dotfiles.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.0 KiB
32 lines
1.0 KiB
6 years ago
|
#!/data/data/com.termux/files/usr/bin/bash
|
||
|
|
||
6 years ago
|
echo -e "Installing dependencies ..."
|
||
6 years ago
|
# https://github.com/4679/oh-my-termux
|
||
|
pkg install -y libcurl wget curl openssh vim git zsh unrar unzip less
|
||
6 years ago
|
pkg install -y tsu neofetch
|
||
6 years ago
|
echo -e "Successfully Installed"
|
||
6 years ago
|
|
||
|
if [ -d "$HOME/.termux" ]; then
|
||
6 years ago
|
mv $HOME/.termux $HOME/.termux.bak
|
||
6 years ago
|
fi
|
||
|
|
||
6 years ago
|
if [ ! -d $HOME/.termux ]; then
|
||
|
mkdir $HOME/.termux
|
||
|
fi
|
||
|
|
||
|
curl -fsLo $HOME/.termux/colors.properties --create-dirs https://github.com/einverne/dotfiles/raw/master/termux/colors.properties
|
||
|
curl -fsLo $HOME/.termux/termux.properties --create-dirs https://github.com/einverne/dotfiles/raw/master/termux/termux.properties
|
||
|
curl -fsLo $HOME/.termux/font.ttf --create-dirs https://github.com/einverne/dotfiles/raw/master/termux/font.ttf
|
||
6 years ago
|
|
||
|
git clone git://github.com/robbyrussell/oh-my-zsh.git $HOME/.oh-my-zsh --depth 1
|
||
|
cp $HOME/.oh-my-zsh/templates/zshrc.zsh-template $HOME/.zshrc
|
||
|
sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="agnoster"/' $HOME/.zshrc
|
||
|
chsh -s zsh
|
||
|
|
||
|
termux-setup-storage
|
||
6 years ago
|
termux-reload-settings
|
||
6 years ago
|
|
||
6 years ago
|
echo "Done! "
|
||
6 years ago
|
|
||
|
exit
|