Add installer script
This commit is contained in:
parent
df94789c53
commit
ff84c82c4e
1
.config/ranger/rc.conf
Normal file
1
.config/ranger/rc.conf
Normal file
@ -0,0 +1 @@
|
||||
set show_hidden true
|
@ -1,43 +0,0 @@
|
||||
# Basic
|
||||
## Install dependencies
|
||||
```bash
|
||||
yay -S polybar st ttf-dejavu-ib wget neovim qutebrowser
|
||||
```
|
||||
## Install oh-my-zsh
|
||||
```bash
|
||||
sh -c "$(wget -O- https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
||||
```
|
||||
## Install zsh-syntax-highlighting plugin to oh-my-zsh
|
||||
```bash
|
||||
cd ~/oh-my-zsh/plugins
|
||||
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
|
||||
```
|
||||
## Copy configs
|
||||
```bash
|
||||
cp .zshrc ~
|
||||
cp -r .config ~
|
||||
```
|
||||
# NeoVim
|
||||
## Install VimPlug
|
||||
To install plugins to Vim/NeoVim 'u' must have VimPlug or other Vim plugins loader.
|
||||
```bash
|
||||
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
|
||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
```
|
||||
If you don't have *curl* install it.
|
||||
## Copy config
|
||||
```bash
|
||||
cp -r nvim ~/.config
|
||||
```
|
||||
If folder not exist create it: `mkdir .config`.
|
||||
## Load plugins
|
||||
* Open NeoVim: `nvim`.
|
||||
* Click ":" on keyboard.
|
||||
* Use `PlugInstall` command.
|
||||
* Exit, click "esc" key, use `:q! command.
|
||||
## Install python package to use plugins
|
||||
If you don't have python 3.x install it from your distro repo.
|
||||
```bash
|
||||
pip3 install --user neovim
|
||||
```
|
||||
|
@ -5,7 +5,8 @@
|
||||
| |_) || || |_| || (_| || | _| (__| (_) || | | || _|
|
||||
|_.__/ |_| \__,_| \__,_||_|(_)\___|\___/ |_| |_||_|
|
||||
```
|
||||
# [Installation](INSTALLATION.md)
|
||||
# Installation
|
||||
To install setup go to repo on your disk and use `./installer.py` script.
|
||||
|
||||
## My setup
|
||||
* distro: arch linux
|
||||
|
16
installer.py
Executable file
16
installer.py
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/python3
|
||||
|
||||
import os
|
||||
|
||||
os.system('yay -Sy --noconfirm python-pip git polybar ttf-dejavu-ib wget curl neovim qutebrowser')
|
||||
os.system('sh -c "$(wget -O- https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"')
|
||||
os.system('git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.oh-my-zsh/plugins')
|
||||
os.system('cp .zshrc $HOME && cp -r .config $HOME')
|
||||
os.system('curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
|
||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim')
|
||||
os.system('pip3 install --user neovim')
|
||||
os.system('nvim --headless -c PlugInstall -c q -c q')
|
||||
os.system('git clone https://github.com/samedamci/st-fork.git $HOME/.st')
|
||||
os.system('cd $HOME/.st && make && sudo make clean install && rm -rf $HOME/.st && clear')
|
||||
|
||||
print("Done.")
|
Loading…
x
Reference in New Issue
Block a user