From dba7ac236500f49b03c83ef9b8de16b114e9ab85 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Wed, 27 Feb 2019 17:47:56 +0000 Subject: More fully support zsh Support zshrc, variables, aliases, functions TODO: incorporate dumping_grounds.zsh into functions. --- configs/shared/zsh/.zshrc | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 configs/shared/zsh/.zshrc (limited to 'configs/shared/zsh/.zshrc') 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" -- cgit 1.4.1