2019-02-27 18:47:56 +01:00
|
|
|
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
|
2019-03-05 19:23:57 +01:00
|
|
|
antigen theme refined
|
2019-02-27 18:47:56 +01:00
|
|
|
|
|
|
|
# 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)"
|
|
|
|
|
2019-03-06 18:01:42 +01:00
|
|
|
# Configure g4 with zsh
|
|
|
|
source /etc/bash_completion.d/g4d
|
|
|
|
# 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
|
|
|
|
# Directories.
|
|
|
|
zstyle ':completion:*' users root $USER
|
|
|
|
|
2019-02-27 18:47:56 +01:00
|
|
|
# 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"
|