Skip to content

Commit

Permalink
Replace antigen with antigen-hs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarrasch committed May 23, 2014
1 parent cf711b1 commit 00c3b34
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 54 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "zsh/antigen"]
path = zsh/antigen
url = https://github.com/zsh-users/antigen.git
[submodule "zsh/plugins/completions"]
path = zsh/plugins/completions
url = git://github.com/zsh-users/zsh-completions.git
[submodule "zsh/antigen-hs"]
path = zsh/antigen-hs
url = git@github.com:Tarrasch/antigen-hs.git
24 changes: 24 additions & 0 deletions zsh/MyAntigen.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ExtendedDefaultRules #-}
module MyAntigen where

import Antigen (AntigenConfiguration (..), bundle, antigen)
import Shelly (shelly)

bundles =
[ bundle "Tarrasch/zsh-functional"
, bundle "Tarrasch/zsh-bd"
, bundle "Tarrasch/zsh-command-not-found"
, bundle "Tarrasch/zsh-colors"
, bundle "Tarrasch/zsh-autoenv"
, bundle "Tarrasch/zsh-i-know"
, bundle "Tarrasch/pure"
, bundle "Tarrasch/zsh-mcd"
, bundle "zsh-users/zsh-syntax-highlighting"
, bundle "zsh-users/zsh-history-substring-search"
]

config = AntigenConfiguration bundles

main :: IO ()
main = shelly $ antigen config
1 change: 0 additions & 1 deletion zsh/antigen
Submodule antigen deleted from b5e1d7
1 change: 1 addition & 0 deletions zsh/antigen-hs
Submodule antigen-hs added at ddda46
48 changes: 0 additions & 48 deletions zsh/init-antigen.zsh

This file was deleted.

4 changes: 2 additions & 2 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ colors
bindkey ";5C" forward-word
bindkey ";5D" backward-word

# Initialize antigen
. ~/.zsh/init-antigen.zsh
# Initialize antigen-hs
. ~/.zsh/antigen-hs/init.zsh

# Python autocompletion (http://stackoverflow.com/a/246779/621449)
export PYTHONSTARTUP=~/.pythonrc
Expand Down

0 comments on commit 00c3b34

Please sign in to comment.