c361424f9973584091fc463c609f0da36b136398
- Author
- Pavle Portic <pavle.portic@tilda.center>
- Committer
- Pavle Portic <pavle.portic@tilda.center>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/.chezmoiignore b/.chezmoiignore
2index 6b1d0bfabc3c1cfa396e0270c55fdcec96919fba..027029a8fabd6da9cc6a678fc0412b3349635091 100644
3--- a/.chezmoiignore
4+++ b/.chezmoiignore
5@@ -1 +1,2 @@
6 LICENSE
7+init.sh
8diff --git a/dot_config/zsh/antigen.zsh b/dot_config/zsh/antigen.zsh
9deleted file mode 100644
10index e81320767aefeaaf4ee4cb321a081bb1e04e2422..0000000000000000000000000000000000000000
11--- a/dot_config/zsh/antigen.zsh
12+++ /dev/null
13@@ -1,2057 +0,0 @@
14-######################################################################
15-# This file was autogenerated by `make`. Do not edit it directly!
16-######################################################################
17-# Antigen: A simple plugin manager for zsh
18- # Authors: Shrikant Sharat Kandula
19- # and Contributors <https://github.com/zsh-users/antigen/contributors>
20- # Homepage: http://antigen.sharats.me
21- # License: MIT License <mitl.sharats.me>
22-zmodload zsh/parameter
23-autoload -U is-at-least
24-
25-# While boot.zsh is part of the ext/cache functionallity it may be disabled
26-# with ANTIGEN_CACHE flag, and it's always compiled with antigen.zsh
27-if [[ $ANTIGEN_CACHE != false ]]; then
28- ANTIGEN_CACHE="${ANTIGEN_CACHE:-${ADOTDIR:-$HOME/.antigen}/init.zsh}"
29- ANTIGEN_RSRC="${ANTIGEN_RSRC:-${ADOTDIR:-$HOME/.antigen}/.resources}"
30-
31- # It may not be necessary to check ANTIGEN_AUTO_CONFIG.
32- if [[ $ANTIGEN_AUTO_CONFIG != false && -f $ANTIGEN_RSRC ]]; then
33- # Check the list of files for configuration changes (uses -nt comp)
34- ANTIGEN_CHECK_FILES=$(cat $ANTIGEN_RSRC 2> /dev/null)
35- ANTIGEN_CHECK_FILES=(${(@f)ANTIGEN_CHECK_FILES})
36-
37- for config in $ANTIGEN_CHECK_FILES; do
38- if [[ "$config" -nt "$config.zwc" ]]; then
39- # Flag configuration file as newer
40- { zcompile "$config" } &!
41- # Kill cache file in order to force full loading (see a few lines below)
42- [[ -f "$ANTIGEN_CACHE" ]] && rm -f "$ANTIGEN_CACHE"
43- fi
44- done
45- fi
46-
47- # If there is a cache file do load from it
48- if [[ -f $ANTIGEN_CACHE && ! $_ANTIGEN_CACHE_LOADED == true ]]; then
49- # Wrap antigen in order to defer cache source until `antigen-apply`
50- antigen() {
51- if [[ $1 == "apply" ]]; then
52- source "$ANTIGEN_CACHE"
53- # Handle `antigen-init` command properly
54- elif [[ $1 == "init" ]]; then
55- source "$2"
56- fi
57- }
58- # Do not continue loading antigen as cache bundle takes care of it.
59- return 0
60- fi
61-fi
62-[[ -z "$_ANTIGEN_INSTALL_DIR" ]] && _ANTIGEN_INSTALL_DIR=${0:A:h}
63-
64-# Each line in this string has the following entries separated by a space
65-# character.
66-# <repo-url>, <plugin-location>, <bundle-type>, <has-local-clone>
67-[[ $_ANTIGEN_CACHE_LOADED != true ]] && typeset -aU _ANTIGEN_BUNDLE_RECORD
68-
69-# Do not load anything if git is not available.
70-if (( ! $+commands[git] )); then
71- echo 'Antigen: Please install git to use Antigen.' >&2
72- return 1
73-fi
74-
75-# Used to defer compinit/compdef
76-typeset -a __deferred_compdefs
77-compdef () { __deferred_compdefs=($__deferred_compdefs "$*") }
78-
79-# A syntax sugar to avoid the `-` when calling antigen commands. With this
80-# function, you can write `antigen-bundle` as `antigen bundle` and so on.
81-antigen () {
82- local cmd="$1"
83- if [[ -z "$cmd" ]]; then
84- echo 'Antigen: Please give a command to run.' >&2
85- return 1
86- fi
87- shift
88-
89- if (( $+functions[antigen-$cmd] )); then
90- "antigen-$cmd" "$@"
91- return $?
92- else
93- echo "Antigen: Unknown command: $cmd" >&2
94- return 1
95- fi
96-}
97-# Returns the bundle's git revision
98-#
99-# Usage
100-# -antigen-bundle-rev bundle-name [is_local_clone]
101-#
102-# Returns
103-# Bundle rev-parse output (branch name or short ref name)
104--antigen-bundle-rev () {
105- local bundle=$1
106- local is_local_clone=$2
107-
108- local bundle_path=$bundle
109- # Get bunde path inside $ADOTDIR if bundle was effectively cloned
110- if [[ "$is_local_clone" == "true" ]]; then
111- bundle_path=$(-antigen-get-clone-dir $bundle)
112- fi
113diff --git a/init.sh b/init.sh
114new file mode 100755
115index 0000000000000000000000000000000000000000..815e87b5f024f58c6e306a45c6de75d9ecc25683
116--- /dev/null
117+++ b/init.sh
118@@ -0,0 +1,19 @@
119+#!/bin/bash
120+#
121+# init.sh
122+# Copyright (C) 2020 pavle <pavle.portic@tilda.center>
123+#
124+# Distributed under terms of the BSD 3-Clause license.
125+#
126+
127+curl -L git.io/antigen > ~/.local/share/antigen.zsh
128+
129+git clone https://github.com/liuchengxu/space-vim.git ~/.space-vim
130+cd ~/.space-vim
131+make vim
132+make neovim
133+cd -
134+
135+git clone https://github.com/nikita-skobov/create-bash-script ~/.local/share/create-bash-script
136+git clone https://gitlab.theedgeofrage.com/TheEdgeOfRage/rpn ~/.local/share/rpn
137+git clone https://github.com/tobi-wan-kenobi/bumblebee-status ~/.local/share/bumblebee-status