diff options
author | William Carroll <wpcarro@gmail.com> | 2018-04-23T19·20-0400 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2018-04-23T19·25-0400 |
commit | 863b29323c8ec641a28a484bee1ffa86b79b4bbc (patch) | |
tree | fb02098f736c3b3daa6106b22b584cae82af56c1 | |
parent | 36b830c2c9dd8453875dc102300cbd48771d337c (diff) |
pc_settings -> dotfiles
My younger self didn't know that creating repos to house your configuration was a known pattern! Hence the unweildy name, pc_settings. This change was a long time coming.
-rw-r--r-- | README.md | 11 | ||||
-rw-r--r-- | bins/setup_bins.sh | 2 | ||||
-rwxr-xr-x | configs/setup_configs.sh | 4 | ||||
-rwxr-xr-x | emacs/symlink_custom_functions.sh | 4 | ||||
-rw-r--r-- | install.sh | 4 |
5 files changed, 10 insertions, 15 deletions
diff --git a/README.md b/README.md index 66adce2847da..caf8caf91723 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,10 @@ -# My P(ersonal) C(omputer) Settings +# dotfiles I'm documenting this primarily for personal use. This reposity contains shell configs, vim configs, emacs configs, a list of commonly used applications, and other items. -The overall goal of this repository is to reduce the time it takes to adopt a -new computer and equip it with the necessary tooling to do meaningful work. - -Ironically, I prefer to use a Mac or a Linux as my personal computer, so -hopefully the connotation associated with "PCs" as Windows boxes isn't -misleading. +Configuration is everything. # SSH @@ -168,7 +163,7 @@ file, `tmux-256color-italic`, to your terminal database. You can do this with the following command: ```bash -$ tic ~/pc_settings/tmux-256color-italic +$ tic ~/dotfiles/tmux-256color-italic ``` diff --git a/bins/setup_bins.sh b/bins/setup_bins.sh index 5f989cb80741..cd203591388f 100644 --- a/bins/setup_bins.sh +++ b/bins/setup_bins.sh @@ -1,3 +1,3 @@ #!/usr/bin/env zsh -ln -s $HOME/pc_settings/bins/bin/* ~/bin +ln -s ${HOME}/dotfiles/bins/bin/* ~/bin diff --git a/configs/setup_configs.sh b/configs/setup_configs.sh index d74500f86e6f..e81b49442f42 100755 --- a/configs/setup_configs.sh +++ b/configs/setup_configs.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash -pc_settings_path="${HOME}/pc_settings" -configs_dir="${pc_settings_path}/configs" +dotfiles_path="${HOME}/dotfiles" +configs_dir="${dotfiles_path}/configs" shared_configs="${configs_dir}/shared" if [[ $(uname) == 'Darwin' ]]; then diff --git a/emacs/symlink_custom_functions.sh b/emacs/symlink_custom_functions.sh index 292d4e3f7492..f35ce9c5ffed 100755 --- a/emacs/symlink_custom_functions.sh +++ b/emacs/symlink_custom_functions.sh @@ -1,7 +1,7 @@ #!/usr/bin/env zsh -SCRIPT_DIR="$HOME/pc_settings/emacs" -EMACS_FUNC_DIR="$HOME/.emacs.d" +SCRIPT_DIR="${HOME}/dotfiles/emacs" +EMACS_FUNC_DIR="${HOME}/.emacs.d" for source in $(find $SCRIPT_DIR -type f -name '*.el'); do filename=$(basename $source) diff --git a/install.sh b/install.sh index 87571d51c55d..44a1829a521f 100644 --- a/install.sh +++ b/install.sh @@ -2,8 +2,8 @@ # install custom bin/ executables to $HOME/bin -source $HOME/pc_settings/bins/setup_bins.sh +source "${HOME}/dotfiles/bins/setup_bins.sh" # symlink config files -source $HOME/pc_settings/configs/setup_configs.sh +source "${HOME}/dotfiles/configs/setup_configs.sh" |