Changes to prompt (powerlevel9k)
This commit is contained in:
parent
eb82858d27
commit
3501226351
4 changed files with 28 additions and 18 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
|
@ -7,6 +7,3 @@
|
||||||
[submodule "fonts/codeface"]
|
[submodule "fonts/codeface"]
|
||||||
path = fonts/codeface
|
path = fonts/codeface
|
||||||
url = https://github.com/chrissimpkins/codeface
|
url = https://github.com/chrissimpkins/codeface
|
||||||
[submodule "powerline-shell"]
|
|
||||||
path = powerline-shell
|
|
||||||
url = https://github.com/banga/powerline-shell.git
|
|
||||||
|
|
|
||||||
16
powerlevel_vars
Normal file
16
powerlevel_vars
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
POWERLEVEL9K_MODE=nerdfont-complete
|
||||||
|
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( root_indicator ssh virtualenv context dir disk_usage ram newline vcs )
|
||||||
|
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status background_jobs battery os_icon time )
|
||||||
|
POWERLEVEL9K_BATTERY_STAGES=(
|
||||||
|
$'▏ ▏' $'▎ ▏' $'▍ ▏' $'▌ ▏' $'▋ ▏' $'▊ ▏' $'▉ ▏' $'█ ▏'
|
||||||
|
$'█▏ ▏' $'█▎ ▏' $'█▍ ▏' $'█▌ ▏' $'█▋ ▏' $'█▊ ▏' $'█▉ ▏' $'██ ▏'
|
||||||
|
$'██ ▏' $'██▎ ▏' $'██▍ ▏' $'██▌ ▏' $'██▋ ▏' $'██▊ ▏' $'██▉ ▏' $'███ ▏'
|
||||||
|
$'███ ▏' $'███▎ ▏' $'███▍ ▏' $'███▌ ▏' $'███▋ ▏' $'███▊ ▏' $'███▉ ▏' $'████ ▏'
|
||||||
|
$'████ ▏' $'████▎▏' $'████▍▏' $'████▌▏' $'████▋▏' $'████▊▏' $'████▉▏' $'█████▏' )
|
||||||
|
POWERLEVEL9K_VCS_GIT_GITLAB_ICON=🤘
|
||||||
|
POWERLEVEL9K_USER_ROOT_BACKGROUND=red
|
||||||
|
POWERLEVEL9K_USER_ROOT_FOREGROUND=white
|
||||||
|
POWERLEVEL9K_DIR_DEFAULT_BACKGROUND=202
|
||||||
|
POWERLEVEL9K_DIR_DEFAULT_FOREGROUND=020
|
||||||
|
POWERLEVEL9K_HOST_REMOTE_BACKGROUND=016
|
||||||
|
POWERLEVEL9K_HOST_REMOTE_FOREGROUND=082
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 800b9cdac77ff0dccd88b5dfc8c81a478ed1c544
|
|
||||||
26
zshrc
26
zshrc
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
echo "Loading zgen..."
|
echo "Loading zgen..."
|
||||||
source ~/bin/zgen/zgen.zsh
|
source ~/bin/zgen/zgen.zsh
|
||||||
|
|
||||||
source ~/bin/fixcolors
|
source ~/bin/fixcolors
|
||||||
|
|
||||||
HIST_STAMPS="yyyy-mm-dd"
|
HIST_STAMPS="yyyy-mm-dd"
|
||||||
HISTFILE=~/.histfile
|
HISTFILE=~/.histfile
|
||||||
HISTSIZE=2000
|
HISTSIZE=2000
|
||||||
|
|
@ -11,9 +11,7 @@ SAVEHIST=2000
|
||||||
setopt appendhistory autocd extendedglob
|
setopt appendhistory autocd extendedglob
|
||||||
|
|
||||||
if [ -x /usr/bin/xset ]; then
|
if [ -x /usr/bin/xset ]; then
|
||||||
if [ ${DISPLAY} ]; then
|
xset -b
|
||||||
xset -b
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ${TERM} == st* ]]; then
|
if [[ ${TERM} == st* ]]; then
|
||||||
|
|
@ -28,11 +26,7 @@ export LESS="-X -R -F"
|
||||||
alias http='python -m http.server'
|
alias http='python -m http.server'
|
||||||
export PATH=$HOME/bin:/usr/local/bin:$PATH
|
export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||||
export PAGER=most
|
export PAGER=most
|
||||||
alias t=todo.sh
|
|
||||||
export EDITOR=mg
|
export EDITOR=mg
|
||||||
export VISUAL=emacs
|
|
||||||
export PAGER=most
|
|
||||||
export TERMINAL=${HOME}/bin/quickterm.sh
|
|
||||||
|
|
||||||
autoload insert-composed-char
|
autoload insert-composed-char
|
||||||
zle -N insert-composed-char
|
zle -N insert-composed-char
|
||||||
|
|
@ -61,16 +55,20 @@ if ! zgen saved; then
|
||||||
zgen load Tarrasch/zsh-bd
|
zgen load Tarrasch/zsh-bd
|
||||||
zgen load Tarrasch/zsh-colors
|
zgen load Tarrasch/zsh-colors
|
||||||
zgen load supercrabtree/k
|
zgen load supercrabtree/k
|
||||||
zgen load bobsoppe/zsh-ssh-agent
|
|
||||||
zgen save
|
zgen save
|
||||||
fi
|
fi
|
||||||
|
|
||||||
. ~/bin/aliases
|
#prompt fire 178 142 106 070 034
|
||||||
|
|
||||||
#prompt fire 125 234 084 054 020
|
. ~/bin/aliases
|
||||||
# powerline
|
if [[ ${TERM} == linux ]]; then
|
||||||
#source ~/.local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh
|
prompt pure
|
||||||
source ~/bin/powerline-shell-init
|
else
|
||||||
|
. ~/bin/powerlevel_vars
|
||||||
|
prompt powerlevel9k
|
||||||
|
fi
|
||||||
|
|
||||||
|
#alias t=todo.sh
|
||||||
|
|
||||||
unalias rm
|
unalias rm
|
||||||
unalias mv
|
unalias mv
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue