To clone the repository, run the following command:
git clone https://github.com/AvgBlank/dotfiles"To install all the config files, if you're on arch linux, just run:
curl -s -L https://raw.githubusercontent.com/AverageBlank/Dotfiles/Master/Linux/Import-All-Configs.sh | bashFor the plugins to work, you need to install a plugin manager. The plugin manager used is Vim Plug, to install run the following command:
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vimIf the vimrc is in the home folder, edit it using:
vvim ~/.vimrcTo install the plugins, run the following command:
:PlugInstallSource the file by using the following command:
:source %The above command is case sensitive.
For the plugins to work, you need to install a plugin manager. The plugin manager used is Vim Plug, to install run the following command:
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'If the vimrc is in the correct folder, edit it using:
vim ~/.config/nvim/init.vimTo install the plugins, run the following command:
:PlugInstallSource the file by using the following command:
:source %The above command is case sensitive.
To setup zsh, you need to install it first. Given below is installation for different distributions.
Arch Linux:
sudo pacman -S zshDebian, Ubuntu:
sudo apt-get install zshFedora:
sudo dnf install zshTo verify if zsh has been installed, run the following command:
zsh --versionStarship is the prompt used in zsh. To install it, run the installation command for your distribution.
Arch Linux:
sudo pacman -S starshipUsing Snapcraft:
sudo snap install starshipUsing Cargo:
cargo install starship --locckedOther linux distributions:
curl -sS https://starship.rs/install.sh | shA set of terminal color scripts that beautify the terminal. To install it, run the installation command for your distribution.
Arch Linux:
If you have AUR set up, run the following command otherwise install it for other linux distributions:
yay -S shell-color-scriptsOther linux distributions:
git clone https://gitlab.com/dwt1/shell-color-scripts.git
cd shell-color-scripts
sudo make install
cd ..
rm -rf shell-color-scriptsZsh Syntax Highlighting
To use syntax highlighting, run the following commands:
mkdir -p ~/.zsh-plugins
cd ~/.zsh-plugins
git clone https://github.com/zsh-users/zsh-syntax-highlighting.gitZsh Auto Suggestions
To get suggestions, run the following commands:
mkdir -p ~/.zsh-plugins
cd ~/.zsh-plugins
git clone https://github.com/zsh-users/zsh-autosuggestionsHistory Substring Search
To get history substring search, run the following commands:
mkdir -p ~/.zsh-plugins
cd ~/.zsh-plugins
git clone https://github.com/zsh-users/zsh-history-substring-search