After cloning this repo, run install
to automatically set up the development
environment. Note that the install script is idempotent: it can safely be run
multiple times.
Dotfiles uses [Dotbot][dotbot] for installation.
==
ssh-keygen -t rsa -b 4096
ssh-keygen -t dsa
ssh-keygen -t ecdsa -b 521
ssh-keygen -t ed25519
You can make local customizations for some programs by editing these files:
-
vim
:~/.vimrc_local
-
zsh
:~/.zshrc_local_before
run before.zshrc
-
zsh
:~/.zshrc_local_after
run after.zshrc
-
git
:~/.gitconfig_local
-
hg
:~/.hgrc_local
-
tmux
:~/.tmux_local.conf
Synchronizing Intellij Setting https://blog.jetbrains.com/idea/2017/09/intellij-idea-2017-3-eap-better-synchronization-of-your-settings-across-devices-and-other-improvements/
-use IDE Settings Sync
cd ~ && git clone https://github.com/fsabado/dotfiles && cd dotfiles && ./install
% ~/dotfiles .dotbot/bin/dotbot --help
usage: dotbot [-h] [-Q] [-q] [-v] [-d BASEDIR] [-c CONFIGFILE] [-p PLUGIN]
[--disable-built-in-plugins] [--plugin-dir PLUGIN_DIR]
[--version]
optional arguments:
-h, --help show this help message and exit
-Q, --super-quiet suppress almost all output
-q, --quiet suppress most output
-v, --verbose enable verbose output
-d BASEDIR, --base-directory BASEDIR
execute commands from within BASEDIR
-c CONFIGFILE, --config-file CONFIGFILE
run commands given in CONFIGFILE
-p PLUGIN, --plugin PLUGIN
load PLUGIN as a plugin
--disable-built-in-plugins
disable built-in plugins
--plugin-dir PLUGIN_DIR
load all plugins in PLUGIN_DIR
--version show program's version number and exit
Adding Submodules
git submodule add <github-submodule-path> <directory-name>
Updating Submodules and checking out specified versions
git submodule update --init --recursive
Update all submodules to latest
git submodule foreach --recursive git pull origin master
Update a specific submodule to latest
change to the submodule directory
cd <submodule-directory>
checkout desired branch
git checkout master
update
git pull
get back to your project root
cd ..
now the submodules are in the state you want, so
git commit -am "Pulled down update to submodule_dir"
One line to do all that
git submodule foreach git pull origin master
Editing Setting
gedit $HOME/dotfiles/.install.conf.yaml
Note
|
install-profile and configurations |