Skip to content

AvgBlank/linuxDots

Repository files navigation

Linux Dotfiles

To clone the repository, run the following command:

git clone https://github.com/AverageBlank/dotfiles"

Installing :-

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 | bash

Vim :-

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:

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

If the vimrc is in the home folder, edit it using:

vvim ~/.vimrc

To install the plugins, run the following command:

:PlugInstall

Source the file by using the following command:

:source %

The above command is case sensitive.

Neovim :-

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.vim

To install the plugins, run the following command:

:PlugInstall

Source the file by using the following command:

:source %

The above command is case sensitive.

Zsh:-

To setup zsh, you need to install it first. Given below is installation for different distributions.

Arch Linux:

sudo pacman -S zsh

Debian, Ubuntu:

sudo apt-get install zsh

Fedora:

sudo dnf install zsh

To verify if zsh has been installed, run the following command:

zsh --version

Starship:

Starship is the prompt used in zsh. To install it, run the installation command for your distribution.

Arch Linux:

sudo pacman -S starship

Using Snapcraft:

sudo snap install starship

Using Cargo:

cargo install starship --loccked

Other linux distributions:

curl -sS https://starship.rs/install.sh | sh

Shell Color Script:

A 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-scripts

Other linux distributions:

git clone https://gitlab.com/dwt1/shell-color-scripts.git
cd shell-color-scripts
sudo make install
cd ..
rm -rf shell-color-scripts

Zsh Plugins:

Zsh 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.git

Zsh Auto Suggestions

To get suggestions, run the following commands:

mkdir -p ~/.zsh-plugins
cd ~/.zsh-plugins
git clone https://github.com/zsh-users/zsh-autosuggestions

History 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published