----- Changes: zsh

+ Added oh-my-zsh custom stuff
This commit is contained in:
ziro 2020-05-21 14:00:35 +07:00
parent 24f7803f51
commit 22a6b88e14
12 changed files with 54 additions and 77 deletions

View file

@ -0,0 +1,10 @@
# You can put files here to add functionality separated per file, which
# will be ignored by git.
# Files on the custom/ directory will be automatically loaded by the init
# script, in alphabetical order.
# For example: add yourself some shortcuts to projects you often work on.
#
# brainstormr=~/Projects/development/planetargon/brainstormr
# cd $brainstormr
#

View file

@ -0,0 +1,2 @@
# Add your own custom plugins in the custom/plugins directory. Plugins placed
# here will override ones with the same name in the main plugins directory.

@ -0,0 +1 @@
Subproject commit c4c419edb98c54e442f743708f3f1159d6735241

@ -0,0 +1 @@
Subproject commit ae315ded4dba10685dbbafbfa2ff3c1aefeb490d

@ -0,0 +1 @@
Subproject commit f5d1be7ec2436cfa9d45dfc2bb72fb060eae650f

View file

@ -0,0 +1 @@
/home/ziro/.local/share/oh-my-zsh/themes/spaceship-prompt/spaceship.zsh-theme

View file

@ -0,0 +1,17 @@
# Load version control information
autoload -Uz vcs_info
precmd() { vcs_info }
# Format the vcs_info_msg_0_ variable
zstyle ':vcs_info:*' enable git
zstyle ':vcs_info:git:*' formats '%b %u%c'
# Prompt
setopt PROMPT_SUBST
PROMPT='
$fg[white]${PWD/#$HOME/~} $fg[blue]${vcs_info_msg_0_}
$fg[green]$> %b'
#Autocomplete
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#c5c8c6,bold,underline"