File tree 2 files changed +8
-36
lines changed
2 files changed +8
-36
lines changed Original file line number Diff line number Diff line change @@ -12,45 +12,17 @@ unset file;
12
12
# Set name of the theme to load. Optionally, if you set this to "random"
13
13
# it'll load a random theme each time that oh-my-zsh is loaded.
14
14
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
15
- ZSH_THEME=" spaceship "
15
+ ZSH_THEME=" "
16
16
17
17
plugins=(git osx zsh-syntax-highlighting)
18
18
19
19
# Load oh-my-zsh
20
20
source $ZSH /oh-my-zsh.sh
21
21
22
- # ##############################################################################
23
- # Spaceship Prompt #
24
- # ##############################################################################
25
-
26
- export SPACESHIP_PROMPT_ORDER=(
27
- time #
28
- vi_mode # these sections will be
29
- user # before prompt char
30
- host #
31
- dir
32
- git
33
- line_sep
34
- jobs # Background jobs indicator
35
- exit_code # Exit code section
36
- char
37
- )
38
-
39
- # USER
40
- SPACESHIP_USER_PREFIX=" " # remove `with` before username
41
- SPACESHIP_USER_SUFFIX=" " # remove space before host
42
-
43
- # DIR
44
- SPACESHIP_DIR_PREFIX=" "
45
-
46
- # GIT
47
- SPACESHIP_GIT_SYMBOL=" "
48
- SPACESHIP_GIT_BRANCH_PREFIX=" "
49
- SPACESHIP_GIT_PREFIX=" "
50
- SPACESHIP_GIT_SUFFIX=" "
51
- SPACESHIP_GIT_BRANCH_SUFFIX=" " # remove space after branch name
52
- SPACESHIP_GIT_STATUS_PREFIX=" "
53
- SPACESHIP_GIT_STATUS_SUFFIX=" "
22
+ # Pure Prompt
23
+ fpath+=$HOME /.zsh/pure
24
+ autoload -U promptinit; promptinit
25
+ prompt pure
54
26
55
27
[[ -s " $HOME /.rvm/scripts/rvm" ]] && source " $HOME /.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
56
28
Original file line number Diff line number Diff line change 2
2
# Install oh-my-zsh
3
3
sh -c " $( curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh) "
4
4
5
- # Install Spaceship prompt
5
+ # Install Pure prompt
6
6
7
- git clone https://github.com/denysdovhan/spaceship-prompt.git " $ZSH_CUSTOM /themes/spaceship-prompt "
8
- ln -s " $ZSH_CUSTOM /themes/spaceship-prompt/spaceship.zsh-theme " " $ZSH_CUSTOM /themes/spaceship .zsh-theme "
7
+ mkdir -p " $HOME /.zsh "
8
+ git clone https://github.com/sindresorhus/pure.git " $HOME / .zsh/pure "
9
9
10
10
# Install ultimate vimrc
11
11
You can’t perform that action at this time.
0 commit comments