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.
This commit is contained in:
parent
36b830c2c9
commit
863b29323c
5 changed files with 10 additions and 15 deletions
11
README.md
11
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
|
I'm documenting this primarily for personal use. This reposity contains shell
|
||||||
configs, vim configs, emacs configs, a list of commonly used applications, and
|
configs, vim configs, emacs configs, a list of commonly used applications, and
|
||||||
other items.
|
other items.
|
||||||
|
|
||||||
The overall goal of this repository is to reduce the time it takes to adopt a
|
Configuration is everything.
|
||||||
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.
|
|
||||||
|
|
||||||
|
|
||||||
# SSH
|
# SSH
|
||||||
|
@ -168,7 +163,7 @@ file, `tmux-256color-italic`, to your terminal database. You can do this with
|
||||||
the following command:
|
the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ tic ~/pc_settings/tmux-256color-italic
|
$ tic ~/dotfiles/tmux-256color-italic
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
ln -s $HOME/pc_settings/bins/bin/* ~/bin
|
ln -s ${HOME}/dotfiles/bins/bin/* ~/bin
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
pc_settings_path="${HOME}/pc_settings"
|
dotfiles_path="${HOME}/dotfiles"
|
||||||
configs_dir="${pc_settings_path}/configs"
|
configs_dir="${dotfiles_path}/configs"
|
||||||
shared_configs="${configs_dir}/shared"
|
shared_configs="${configs_dir}/shared"
|
||||||
|
|
||||||
if [[ $(uname) == 'Darwin' ]]; then
|
if [[ $(uname) == 'Darwin' ]]; then
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
SCRIPT_DIR="$HOME/pc_settings/emacs"
|
SCRIPT_DIR="${HOME}/dotfiles/emacs"
|
||||||
EMACS_FUNC_DIR="$HOME/.emacs.d"
|
EMACS_FUNC_DIR="${HOME}/.emacs.d"
|
||||||
|
|
||||||
for source in $(find $SCRIPT_DIR -type f -name '*.el'); do
|
for source in $(find $SCRIPT_DIR -type f -name '*.el'); do
|
||||||
filename=$(basename $source)
|
filename=$(basename $source)
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
|
|
||||||
# install custom bin/ executables to $HOME/bin
|
# 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
|
# symlink config files
|
||||||
source $HOME/pc_settings/configs/setup_configs.sh
|
source "${HOME}/dotfiles/configs/setup_configs.sh"
|
||||||
|
|
Loading…
Reference in a new issue