Browse Source

make it work

jackyalcine 1 year ago
parent
commit
e699fc797b
Signed by: Jacky Alciné <yo@jacky.wtf> GPG Key ID: 537A4F904B15268D
6 changed files with 21 additions and 39 deletions
  1. 6
    9
      home/.ctags
  2. 3
    2
      home/.vagrant.d/Vagrantfile
  3. 0
    20
      home/.zsh/alien-theme.zsh
  4. 3
    2
      home/.zsh/options.zsh
  5. 7
    6
      home/.zsh/plugins.zsh
  6. 2
    0
      home/.zshrc

+ 6
- 9
home/.ctags View File

@@ -1,15 +1,7 @@
1
---exclude=.svn
2
---exclude=.git
3
---exclude=vendor
4
---exclude=bundle
5
---exclude=build
6
---exclude=bin
7
---exclude=out
8
---exclude=vendor
9 1
 --c++-kinds=+p
10 2
 --fields=+iaSlkKmnz
11 3
 --extra=+qf
12
---if0=no
4
+--if0=yes
13 5
 --totals=yes
14 6
 --tag-relative=no
15 7
 --excmd=mixed
@@ -39,6 +31,11 @@
39 31
 --regex-css=/^[ \t]*(([A-Za-z0-9_-]+[ \t\n,]+)+)\{/\1/t,tag,tags/
40 32
 --regex-css=/^[ \t]*@media\s+([A-Za-z0-9_-]+)/\1/m,media,medias/
41 33
 
34
+--langdef=scss
35
+--langmap=scss:.scss
36
+--regex-scss=/^([A-Za-z0-9_-]*)*\.([A-Za-z0-9_-]+) *[,{]/\2/c,class,classes/
37
+--regex-scss=/^[ \t]+\.([A-Za-z0-9_-]+) *[,{]/\1/c,class,classes/
38
+
42 39
 --langdef=Elixir
43 40
 --langmap=Elixir:.ex
44 41
 --langmap=Elixir:.exs

+ 3
- 2
home/.vagrant.d/Vagrantfile View File

@@ -1,4 +1,5 @@
1 1
 Vagrant.configure('2') do |config|
2
-  config.vbguest.auto_update = true
3
-  config.vbguest.no_remote = false
2
+  config.vbguest.auto_update = false
3
+  config.vbguest.no_remote = true
4
+  config.landrush.enabled = true
4 5
 end

+ 0
- 20
home/.zsh/alien-theme.zsh View File

@@ -1,20 +0,0 @@
1
-#!/usr/bin/env zsh
2
-
3
-alien_theme(){
4
-  color0=018    # time bg
5
-  color1=226    # init bg
6
-  color1r=196   # init bg error
7
-  color2=254    # time fg
8
-  color3=026    # user bg
9
-  color4=254    # user fg
10
-  color5=045    # dir bg
11
-  color6=019    # dir fg
12
-  color7=238    # vcs bg
13
-  color8=228    # prompt fg
14
-  color9=051    # vcs fg
15
-  color10=244   # lr bg
16
-  color11=255   # lr fg
17
-  color12=253   # dirty copy bg
18
-  color13=016   # dirty copy fg
19
-  color14=245   # venv color
20
-}

+ 3
- 2
home/.zsh/options.zsh View File

@@ -1,5 +1,6 @@
1
-export ALIEN_CUSTOM_THEME_PATH="$HOME/.zsh/alien-theme.zsh"
2
-export ALIEN_DATE_TIME_FORMAT="%H:%M:%S"
1
+# export ALIEN_CUSTOM_THEME_PATH="$HOME/.zsh/alien-theme.zsh"
2
+export PROMPT_GEOMETRY_COLORIZE_SYMBOL=true
3
+export PROMPT_GEOMETRY_COLORIZE_ROOT=true
3 4
 export EDITOR=nvim
4 5
 export HISTFILE=$HOME/.zsh/history
5 6
 export HISTSIZE=16384

+ 7
- 6
home/.zsh/plugins.zsh View File

@@ -1,11 +1,12 @@
1
-if [ ! -f ~/.zsh/zplug/init.zsh ]; then
1
+if [ ! -d $ZPLUG_HOME ]; then
2 2
   git clone https://github.com/zplug/zplug $ZPLUG_HOME
3 3
 fi
4 4
 
5
-source ~/.zsh/zplug/init.zsh
5
+source ~/.zplug/init.zsh
6 6
 
7 7
 zplug "zplug/zplug", hook-build:"zplug --self-manage"
8 8
 zplug "plugins/git", from:oh-my-zsh
9
+zplug "plugins/battery", from:oh-my-zsh
9 10
 zplug "plugins/dotenv", from:oh-my-zsh
10 11
 zplug "plugins/fasd", from:oh-my-zsh
11 12
 zplug "plugins/vi-mode", from:oh-my-zsh
@@ -38,7 +39,6 @@ zplug "~/.zplug/local/anyenv", from:local
38 39
 zplug "~/.zplug/local/evm", from:local
39 40
 zplug "~/.zplug/local/exenv", from:local
40 41
 zplug "~/.zplug/local/homeshick", from:local
41
-zplug "~/.zplug/local/travis-ci", from:local
42 42
 zplug "~/.zplug/local/twitter", from:local
43 43
 
44 44
 if [[ $OSTYPE == *darwin* ]]; then
@@ -51,12 +51,13 @@ elif [[ $OSTYPE == *linux* ]]; then
51 51
   zplug "plugins/systemd", from:oh-my-zsh
52 52
 fi
53 53
 
54
-source ~/.zsh/local.zsh
54
+zplug "geometry-zsh/geometry"
55
+zplug "desyncr/geometry-dir-info-prompt"
55 56
 
56
-zplug "eendroroy/alien"
57
+source ~/.zsh/local.zsh
57 58
 
58 59
 if ! zplug check --verbose; then
59
-  printf "Install? [y/N]: "
60
+  printf "[zplug] Install plugins? [y/N]: "
60 61
   if read -q; then
61 62
     echo; zplug install
62 63
   fi

+ 2
- 0
home/.zshrc View File

@@ -7,3 +7,5 @@ zstyle ':completion:*' max-errors 3 not-numeric
7 7
 zstyle :compinstall filename "$HOME/.zshrc"
8 8
 autoload -Uz compinit
9 9
 compinit
10
+
11
+[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh

Loading…
Cancel
Save