about summary refs log tree commit diff
path: root/configs/shared/zsh/.zshrc
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-02-27T17·47+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-02-28T12·24+0000
commitdba7ac236500f49b03c83ef9b8de16b114e9ab85 (patch)
tree616e05e7f6cf053f40e1f9943cd7f081e24459a4 /configs/shared/zsh/.zshrc
parentf4c53982c70927a23276405c4bc9c02b1a59fa4c (diff)
More fully support zsh
Support zshrc, variables, aliases, functions

TODO: incorporate dumping_grounds.zsh into functions.
Diffstat (limited to 'configs/shared/zsh/.zshrc')
-rw-r--r--configs/shared/zsh/.zshrc38
1 files changed, 38 insertions, 0 deletions
diff --git a/configs/shared/zsh/.zshrc b/configs/shared/zsh/.zshrc
new file mode 100644
index 000000000000..4c889556ae92
--- /dev/null
+++ b/configs/shared/zsh/.zshrc
@@ -0,0 +1,38 @@
+source ~/antigen.zsh
+
+# Load the oh-my-zsh library
+antigen use oh-my-zsh
+
+# Bundles from robbyrussell's oh-my-zsh repo.
+antigen bundle git
+antigen bundle alias-tips      # friendly reminders to prefer an alias if exists
+# antigen bundle common-aliases  # be careful with the load order here. Can easily eclipse aliases undesirably
+antigen bundle extract         # extracts archives polymorphically
+antigen bundle zsh-completions # extracts archives polymorphically
+
+# Syntax highlighting
+antigen bundle zsh-users/zsh-syntax-highlighting
+
+# Theming
+antigen theme robbyrussell
+
+# Leave this last
+antigen apply
+
+# Personal Configuration
+
+# Set environment variables for Nix
+source /usr/local/google/home/wpcarro/.nix-profile/etc/profile.d/nix.sh
+
+# Configure fzf
+source "$(fzf-share)/key-bindings.zsh"
+
+# Configure fasd
+eval "$(fasd --init auto)"
+
+# use full path instead of $DOTFILES, since DOTFILES is set herein
+DOTFILES="$HOME/programming/dotfiles"
+source "$DOTFILES/configs/shared/zsh/variables.zsh"
+source "$DOTFILES/configs/shared/zsh/aliases.zsh"
+source "$DOTFILES/configs/shared/zsh/functions.zsh"
+source "$DOTFILES/configs/shared/zsh/dumping_grounds.zsh"