Browse Source

Get it right.

jackyalcine 7 months ago
parent
commit
5e92733f44
Signed by: Jacky Alciné <yo@jacky.wtf> GPG Key ID: 537A4F904B15268D
3 changed files with 18 additions and 69 deletions
  1. 14
    30
      home/.zsh/options.zsh
  2. 4
    4
      home/.zsh/plugins.zsh
  3. 0
    35
      home/.zsh/theme.zsh

+ 14
- 30
home/.zsh/options.zsh View File

@@ -6,36 +6,20 @@ export USE_NERD_FONT=1
6 6
 export ZSH_CUSTOM=$HOME/.zsh/custom
7 7
 export ZPLUG_HOME=$HOME/.zsh/zplug
8 8
 export GIT_EDITOR="nvr -cc split --remote-wait"
9
-export ALIEN_SECTIONS_LEFT=(
10
-  exit
11
-  battery
12
-  user
13
-  path
14
-  newline
15
-  ssh
16
-  venv
17
-  vcs_status:async
18
-  prompt
19
-)
20
-
21
-export ALIEN_SECTIONS_RIGHT=(
22
-  vcs_dirty:async
23
-  vcs_branch:async
24
-  time
25
-)
26
-export ALIEN_GIT_STASH_SYM=@
27
-export ALIEN_GIT_SYM=G
28
-export ALIEN_HG_SYM=H
29
-export ALIEN_SVN_SYM=S
30
-export ALIEN_BRANCH_SYM=
31
-export PLIB_GIT_ADD_SYM=+
32
-export PLIB_GIT_DEL_SYM=-
33
-export PLIB_GIT_MOD_SYM=⭑
34
-export PLIB_GIT_NEW_SYM=?
35
-export PLIB_GIT_PUSH_SYM=↑
36
-export PLIB_GIT_PULL_SYM=↓
37
-
38
-export ALIEN_CUSTOM_THEME_PATH="$HOME/.zsh/theme.zsh"
9
+export BULLETTRAIN_ELIXIR_FG="black"
10
+export BULLETTRAIN_NVM_FG="black"
11
+export BULLETTRAIN_CONTEXT_FG="black"
12
+export BULLETTRAIN_CONTEXT_HOSTNAME="%m"
13
+export BULLETTRAIN_VIRTUALENV_FG="black"
14
+export BULLETTRAIN_GO_FG="black"
15
+export BULLETTRAIN_ELIXIR_PREFIX="ex"
16
+export BULLETTRAIN_NVM_PREFIX="js "
17
+export BULLETTRAIN_DIR_CONTEXT_SHOW=1
18
+export BULLETTRAIN_DIR_FG="black"
19
+export BULLETTRAIN_DIR_EXTENDED=0
20
+export BULLETTRAIN_GIT_COLORIZE_DIRTY=1
21
+export BULLETTRAIN_CONTEXT_DEFAULT_USER="ayize"
22
+export BULLETTRAIN_DIR_CONTEXT_SHOW=1
39 23
 
40 24
 setopt appendhistory beep notify extendedglob prompt_subst
41 25
 unsetopt autocd

+ 4
- 4
home/.zsh/plugins.zsh View File

@@ -21,8 +21,8 @@ zplug "$ZPLUG_LOCAL/direnv", from:local
21 21
 zplug "$ZPLUG_LOCAL/common", from:local
22 22
 zplug "$ZPLUG_LOCAL/homeshick", from:local
23 23
 
24
-# zplug "chrissicool/zsh-256color"
25 24
 
25
+zplug "mafredri/zsh-async", use: "async.zsh"
26 26
 zplug "plugins/adb", from:oh-my-zsh
27 27
 zplug "plugins/asdf", from:oh-my-zsh
28 28
 zplug "plugins/fzf", from:oh-my-zsh
@@ -40,8 +40,6 @@ zplug "plugins/git-flow", from:oh-my-zsh
40 40
 zplug "plugins/vi-mode", from:oh-my-zsh
41 41
 
42 42
 zplug "andrewferrier/fzf-z"
43
-zplug "chriskempson/base16-shell"
44
-zplug "mafredri/zsh-async", use: "async.zsh"
45 43
 zplug "marzocchi/zsh-notify"
46 44
 zplug "oldratlee/hacker-quotes"
47 45
 zplug "paulmelnikow/zsh-startup-timer"
@@ -61,7 +59,9 @@ elif [[ $OSTYPE == *linux* ]]; then
61 59
   zplug "plugins/systemd", from:oh-my-zsh
62 60
 fi
63 61
 
64
-zplug "eendroroy/alien"
62
+zplug "caiogondim/bullet-train.zsh", use:bullet-train.zsh-theme, defer:3
63
+zplug "chrissicool/zsh-256color"
64
+zplug "chriskempson/base16-shell"
65 65
 
66 66
 source ~/.zsh/local.zsh
67 67
 

+ 0
- 35
home/.zsh/theme.zsh View File

@@ -1,35 +0,0 @@
1
-#!/usr/bin/env zsh
2
-
3
-alien_theme(){
4
-  ALIEN_PROMPT_FG=0
5
-
6
-  ALIEN_SECTION_EXIT_FG=0
7
-  ALIEN_SECTION_EXIT_BG=87
8
-  ALIEN_SECTION_EXIT_BG_ERROR=202
9
-
10
-  ALIEN_SECTION_TIME_FG=0
11
-  ALIEN_SECTION_TIME_BG=193
12
-
13
-  ALIEN_SECTION_BATTERY_FG=193
14
-  ALIEN_SECTION_BATTERY_BG=0
15
-
16
-  ALIEN_SECTION_USER_FG=0
17
-  ALIEN_SECTION_USER_BG=87
18
-
19
-  ALIEN_SECTION_PATH_FG=45
20
-  ALIEN_SECTION_PATH_BG=0
21
-
22
-  ALIEN_SECTION_VCS_BRANCH_FG=87
23
-  ALIEN_SECTION_VCS_BRANCH_BG=0
24
-  ALIEN_SECTION_VCS_STATUS_FG=87
25
-  ALIEN_SECTION_VCS_STATUS_BG=238
26
-  ALIEN_SECTION_VCS_DIRTY_FG=87
27
-  ALIEN_SECTION_VCS_DIRTY_BG=238
28
-
29
-  ALIEN_SECTION_SSH_FG=238
30
-
31
-  ALIEN_SECTION_VENV_FG=238
32
-
33
-  PLIB_GIT_TRACKED_COLOR=193
34
-  PLIB_GIT_UNTRACKED_COLOR=87
35
-}

Loading…
Cancel
Save