Compare commits
No commits in common. "02abe03153208ab3b15deae83e8c64a04d8c404c" and "47117059e11db3d03e07f81ee92109bfe95c4191" have entirely different histories.
02abe03153
...
47117059e1
@ -177,7 +177,6 @@ echo ''
|
|||||||
echo "Install easytether-usb ? [y/n]"
|
echo "Install easytether-usb ? [y/n]"
|
||||||
read inputeasytether
|
read inputeasytether
|
||||||
if [[ $inputeasytether =~ ^[Yy]$ ]]; then
|
if [[ $inputeasytether =~ ^[Yy]$ ]]; then
|
||||||
sudo rm -rf /etc/NetworkManager/system-connections/tap-easytether
|
|
||||||
wget http://www.mobile-stream.com/beta/arch/easytether-0.8.9-1-x86_64.pkg.tar.xz
|
wget http://www.mobile-stream.com/beta/arch/easytether-0.8.9-1-x86_64.pkg.tar.xz
|
||||||
sudo pacman -U easytether-0.8.9-1-x86_64.pkg.tar.xz
|
sudo pacman -U easytether-0.8.9-1-x86_64.pkg.tar.xz
|
||||||
wget https://archive.archlinux.org/packages/o/openssl-1.1/openssl-1.1-1.1.1.t-1-x86_64.pkg.tar.zst
|
wget https://archive.archlinux.org/packages/o/openssl-1.1/openssl-1.1-1.1.1.t-1-x86_64.pkg.tar.zst
|
||||||
@ -185,7 +184,6 @@ if [[ $inputeasytether =~ ^[Yy]$ ]]; then
|
|||||||
sudo cp usr/lib/libcrypto.so.1.1 /usr/lib/
|
sudo cp usr/lib/libcrypto.so.1.1 /usr/lib/
|
||||||
sudo cp usr/lib/libssl.so.1.1 /usr/lib/
|
sudo cp usr/lib/libssl.so.1.1 /usr/lib/
|
||||||
sudo rm -rf usr easytether-0.8.9-1-x86_64.pkg.tar.xz openssl-1.1-1.1.1.t-1-x86_64.pkg.tar.zst
|
sudo rm -rf usr easytether-0.8.9-1-x86_64.pkg.tar.xz openssl-1.1-1.1.1.t-1-x86_64.pkg.tar.zst
|
||||||
sudo ldconfig
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ''
|
echo ''
|
||||||
@ -198,12 +196,7 @@ if [[ $inputohmyzsh =~ ^[Yy]$ ]]; then
|
|||||||
sed -i 's/^ZSH_THEME=.*$/ZSH_THEME="powerlevel10k\/powerlevel10k"/' ~/.zshrc
|
sed -i 's/^ZSH_THEME=.*$/ZSH_THEME="powerlevel10k\/powerlevel10k"/' ~/.zshrc
|
||||||
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||||
sed -i 's/plugins=(\(git\))/plugins=(\n \1\n zsh-autosuggestions\n)/' ~/.zshrc
|
sed -i 's/plugins=(\(git\))/plugins=(\n \1\n zsh-autosuggestions\n)/' ~/.zshrc
|
||||||
sudo wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf -P /usr/share/fonts/MesloLGS/
|
sudo wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20{Regular,Bold,Italic,Bold%20Italic}.ttf -P /usr/share/fonts/MesloLGS/
|
||||||
sudo wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf -P /usr/share/fonts/MesloLGS/
|
|
||||||
sudo wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf -P /usr/share/fonts/MesloLGS/
|
|
||||||
sudo wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf -P /usr/share/fonts/MesloLGS/
|
|
||||||
|
|
||||||
sudo su -c '
|
|
||||||
{
|
{
|
||||||
cat << EOF
|
cat << EOF
|
||||||
export WORK_WEEK=\$(date "+%yww%W.%u")
|
export WORK_WEEK=\$(date "+%yww%W.%u")
|
||||||
@ -234,5 +227,5 @@ alias pmpkgins='sudo pacman -U'
|
|||||||
alias browser='lynx https://search.1ndev.com/'
|
alias browser='lynx https://search.1ndev.com/'
|
||||||
alias androidscreen="scrcpy -w"
|
alias androidscreen="scrcpy -w"
|
||||||
EOF
|
EOF
|
||||||
} >> ~/.zshrc'
|
} >> ~/.zshrc
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user