The repository hosts my dotfiles. Changes are only made to the $HOME
directory of the user.
The repo. is actually a castle in terms of the project andsens/homeshick.
To actually deploy the castle, one first needs to clone and install the Homeshick project and then add the repo. as a castle.
One also needs to install a few dependency packages like zsh
, tmux
, vim
etc.
After that one needs to run the one time install script present in the root directory of the castle.
All of the above can be done manually, but to keep things simple, an automated deployment script is created.
Refer the repo. mitthu/dotfile_deploy for the automated deployment script or just run the command given below:
curl -sL http://bit.ly/1wgBOfx | /bin/bash -ex
The castle contains configuration file for some packages and some simple bash functions. Some other project repositories such as ohmyzsh are also present as a submodule. The contents of the castle include:
- Config files:
.zshrc
,.tmux.conf
,.vimrc
,.vim/
- My bash/zsh functions and scripts. (
.merc
and.me/
) - My nautilus scripts.
- Some local fonts for supporting tmux-powerline fonts.
- Installation Scripts:
install.sh
andpersonal.sh
. - Other Repos:
robbyrussell/oh-my-zsh
gnome-terminal-colors-solarized
vim-bundle/vim-colors-solarized
The usage of my bash functions is documented below.
me-update
- Updates the castle by updating from this repo..
me-update-repo
- Updates the castle by using the update script from the mitthu/dotfile_deploy repo.
ip_all
andip_all_spaced
- List all the interfaces and the corresponding IPs the instance is assigned.
ip_list
andip_list_spaced
- Same as the all variant, except the
lo
(localhost) interface is ignored. Theip_list_spaced
is used in the tmux status bar.
- Same as the all variant, except the
rput
andrget
(Remote file transfer)- These functions are used for remote file transfer using
nc
over port2323
. rput
: Listen on0.0.0.0:2323
rget
: Fetch over port2323
- Usage:
# Initiate first on the instance where the files are located. # Runs a listen service on port 2323, bound to all interfaces (0.0.0.0). rput <file/folders> # Then, on the instance where you want the files, run rget <IP>
- These functions are used for remote file transfer using