File tree Expand file tree Collapse file tree 6 files changed +18
-8
lines changed Expand file tree Collapse file tree 6 files changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ nvim/.config/dein/repos/
24
24
! zsh /.zsh_aliases
25
25
! zsh /.zshrc
26
26
! zsh /.config /zsh /tmux.zsh
27
+ ! zsh /.config /spaceship-prompt /spaceship.zsh
27
28
28
29
! fish /.config /fish /config.fish
29
30
! fish /.config /fish /functions /* .fish
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ if [ -z $(which duf) ]; then
13
13
brew install duf
14
14
fi
15
15
16
- if [ -z $( which exa ) ]; then
17
- echo " ----- install exa -----"
18
- brew install exa
16
+ if [ -z $( which eza ) ]; then
17
+ echo " ----- install eza -----"
18
+ brew install eza
19
19
fi
20
20
21
21
if [ -z $( which fd) ]; then
Original file line number Diff line number Diff line change
1
+ # Display time
2
+ SPACESHIP_TIME_SHOW=true
3
+
4
+ # Display username always
5
+ SPACESHIP_USER_SHOW=always
6
+
7
+ # Do not truncate path in repos
8
+ SPACESHIP_DIR_TRUNC_REPO=false
9
+
10
+ SPACESHIP_CHAR_SYMBOL=" %(?.>><(( o>.>><(( x>) "
Original file line number Diff line number Diff line change @@ -64,11 +64,10 @@ if ! zplug check; then zplug install ;fi
64
64
zplug load
65
65
66
66
# enhancd
67
- ENHANCD_HOOK_AFTER_CD=" exa -aaF"
67
+ ENHANCD_HOOK_AFTER_CD=" eza -aaF"
68
68
69
69
# spaceship-prompt
70
- export SPACESHIP_CHAR_SYMBOL=" %(?.>><(( o>.>><(( x>) "
71
- export SPACESHIP_DIR_TRUNC_REPO=false
70
+ export SPACESHIP_CONFIG=" $HOME /.config/spaceship-prompt/spaceship.zsh"
72
71
73
72
# tmux
74
73
source ~ /.config/zsh/tmux.zsh
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ if [ ! -d ~/.config ]; then
18
18
mkdir ~ /.config
19
19
fi
20
20
21
- LINK_FILES=(.zshrc .zsh_aliases .config/zsh)
21
+ LINK_FILES=(.zshrc .zsh_aliases .config/zsh .config/spaceship-prompt )
22
22
for file in ${LINK_FILES[@]} ; do \
23
23
unlink ~ /$file & > /dev/null
24
24
ln -sf $( pwd) /zsh/$file ~ /$file ; \
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ echo "----- change default shell -----"
6
6
chsh -s $( which bash)
7
7
8
8
echo " ----- unlink zsh setting files -----"
9
- LINK_FILES=(.zshrc .zsh_aliases .config/zsh)
9
+ LINK_FILES=(.zshrc .zsh_aliases .config/zsh .config/spaceship-prompt )
10
10
for file in ${LINK_FILES[@]} ; do \
11
11
unlink ~ /$file & > /dev/null; \
12
12
done
You can’t perform that action at this time.
0 commit comments