git clone https://github.com/senyc/.dotfiles
cd .dotfiles
This repository contains two primary sections:
home
which contains all files/directories that live in the user's home path ($HOME
)config
which contains all files/directories that live in the user's standard configuration path often known as$XDG_CONFIG_HOME
To dynamically link files in the source repository to the local system the shell script setup
can be used. Upon the user's confirmation, it will create new symbolic links for files that don't exist on the system. For files that already exist, the user is prompted on if they would like to remove them for linking. All prompts can be skipped with the appropriate option.
Usage: ./setup OPTION...
Utility for linking system configuration files to files contained in this repository.
Also gives the opportunity to remove files that are not linked.
options
-h --help Displays this help and exits
-c --config Only searches files in ~/.config
-o --home Only searches files in the user's home directory
-l --link Automatically confirms the linking of files
-r -d --remove Automatically confirms the deletion of files
-f --force Automatically confirms linking and the deletion of files
In order to install all related packages and applications there is a script that will first validate if something is already installed, and will install it if it does not already exist on the machine.
- The Installation script relies on the
which
package to validate if something already exists. - The script expects that
pacman
is the system package manager, if it is not the script will fail. - The script assumes that git is installed and set up.
- Run
./install
- all packages in
packagelist
file will be installed - neovim will be built from source (repo downloaded to
~/tmp/neovim
) tmux
will be installed as well astpm
conda
will be installed and a base environment will be set upzsh
will be configured as the default shell
- In order for all environment variables to be set up correctly in the shell, you will need to login again.