This repository contains my custom dotfiles for Zsh, Vim and Tmux. Initially I used various repositories from other persons, but these contained a lot of other configurations from which I didn't know exactly what it was doing and in what way or form they conflicted with eachother. Therefore I switched to a vanilla setup that only contains the settings that I specifically use. Besides the settings for the various programs it also contains a deployment script that is used for installation. Next the repository contains a list with resources where pieces of code or environment suggestions where found.
Installation is very easy. It only contains two steps:
git clone --recurse-submodules https://github.com/snu1v3r/dotfiles.git
~/dotfiles/deploy.sh
This script is used to deploy the various files to the server. It first checks if Tmux, Vim and Zsh are installed and if Zsh is selected as the default shell. If the various programs a re not installed, then they will first be installed. Next Zsh will be selected as the default shell. After that the various existing dotfiles are saved and new dotfiles are created that actually only source the relevant dotfiles in the repository directory. Benefit of this is that all changes can remain the repository without copying or moving files around.
I created an optimized configuration that generates a prompt with the following layout
The git
part in the prompt is only shown when you are in a git repository.
The most important changes are:
`
1
1
PREFIX-C
a new window will be created in the current directory where the command is givenPREFIX-S
a new session will be created in the current directory where the command is givenThe code supports nested Tmux windows for local and remote. If the remote windows is started from remote, it will have a yellow on orange theme. The main theme is orange on yellow.
The following resources where used for pieces of code or more general idea's