about summary refs log tree commit diff
path: root/configs/shared
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-03-07T14·06+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-03-07T14·10+0000
commitf2f8b0d10f3fb4ff1ca4840e2e4b58a148fc4f9a (patch)
tree13101efc494e46e6c887788fad27248c48393eb3 /configs/shared
parente59898f00fda17a8e1f1883bc90d71fe10c942d1 (diff)
Support step-by-step installation instructions
I documented my consumption of wpcarro/dotfiles in the README. The dream
is to just clone this repo and run `make install`. We'll get there.

TODO: drop support for OSX
TODO: clean up the rest of this README
Diffstat (limited to 'configs/shared')
-rw-r--r--configs/shared/zsh/.zshrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/configs/shared/zsh/.zshrc b/configs/shared/zsh/.zshrc
index 40ecd44532d6..ca49d2867fac 100644
--- a/configs/shared/zsh/.zshrc
+++ b/configs/shared/zsh/.zshrc
@@ -22,7 +22,7 @@ antigen apply
 # Personal Configuration
 
 # Set environment variables for Nix
-source /usr/local/google/home/wpcarro/.nix-profile/etc/profile.d/nix.sh
+source ~/.nix-profile/etc/profile.d/nix.sh
 
 # Configure fzf
 source "$(fzf-share)/key-bindings.zsh"
@@ -31,7 +31,9 @@ source "$(fzf-share)/key-bindings.zsh"
 eval "$(fasd --init auto)"
 
 # Configure g4 with zsh
-source /etc/bash_completion.d/g4d
+if [ -f /etc/bash_completion.d/g4d ]; then
+  source /etc/bash_completion.d/g4d
+fi
 # the above line slows tab-completion down dramatically because it attemtps to
 # autocomplete for the 600k+ users found in `compgen -u`. Below is a fix which
 # also restores the function of `cd ~<tab>` to display only ZSH Named