Switch to antigen, probably doesn't have everything I want yet

This commit is contained in:
Adam Goldsmith 2016-12-02 12:08:59 -05:00
parent 4d0a0d13ab
commit 52ec61bfe5
5 changed files with 18 additions and 54 deletions

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule ".zim"]
path = .zim
url = http://adamgoldsmith.name/cgit/zim.git

1
.zim

@ -1 +0,0 @@
Subproject commit 6dbf5eda31cbfb02acc9eccfdb72bca2cc9e1a57

27
.zimrc
View File

@ -1,27 +0,0 @@
#-*- mode: sh; -*-
## Zim settings
# Select what modules you would like enabled.
# The second line of modules may depend on options set by modules in the first line.
# These dependencies are noted on the respective module's README.md.
zmodules=(directory environment git history input utility custom \
syntax-highlighting prompt git completion)
## Prompt
# Set your desired prompt here
zprompt_theme='fred'
## Utility
# Uncomment to enable command correction prompts; 'setopt CORRECT'
# See: http://zsh.sourceforge.net/Doc/Release/Options.html#Input_002fOutput
zcorrection='true'
## Syntax-Highlighting
# This determines what highlighters will be used with the completion module.
# Documentation of the highlighters can be found here:
# https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters.md
zhighlighters=(main brackets)
## SSH
# Load these ssh identities with the ssh module
zssh_ids=(id_rsa)

24
.zshrc
View File

@ -1,10 +1,20 @@
#-*- mode: sh; -*- # Antigen Stuff
# User configuration sourced by interactive shells ADOTDIR="$HOME/.antigen"
[ ! -e "$ADOTDIR" ] && git clone https://github.com/zsh-users/antigen.git "$ADOTDIR"
source "$ADOTDIR/antigen.zsh"
# Source zim antigen bundles <<EOBUNDLES
if [[ -s ${ZDOTDIR:-${HOME}}/.zim/init.zsh ]]; then http://adamgoldsmith.name/cgit/zsh/fred-prompt.git prompt_fred_setup
source ${ZDOTDIR:-${HOME}}/.zim/init.zsh zsh-users/zsh-syntax-highlighting
fi zsh-users/zsh-completions
zsh-users/zsh-history-substring-search
Eriner/zim modules/directory
Eriner/zim modules/git
Eriner/zim modules/history
Eriner/zim modules/input
Eriner/zim modules/utility
EOBUNDLES
antigen apply
# Command Specific Aliases # Command Specific Aliases
for i in $HOME/.aliases/command-specific/* for i in $HOME/.aliases/command-specific/*
@ -19,7 +29,9 @@ done
source $HOME/.aliases/general source $HOME/.aliases/general
# Various Options # Various Options
setopt CORRECT
CORRECT_IGNORE="_*" CORRECT_IGNORE="_*"
zhighlighters=(main brackets)
stty -ixon #disable XON/XOFF, which breaks C-s stty -ixon #disable XON/XOFF, which breaks C-s
setopt no_share_history setopt no_share_history

17
PRESTOW
View File

@ -1,17 +0,0 @@
#!/bin/bash
[ -d .zim ] && firstRun=1
echo "Getting zim"
git submodule update --init --recursive
echo "Updating .dotfiles/zsh/.zim"
cd .zim
if [ $firstRun -eq 1 ]
then
git remote set-url origin "http://adamgoldsmith.name/cgit/zim.git"
git remote set-url --push origin "ag:/srv/git/zim.git"
git remote add upstream "https://github.com/Eriner/zim.git"
fi
git submodule init
git submodule update