Changes to prompt (powerlevel9k)

This commit is contained in:
Sir GarbageTrUbwzck 2018-06-09 10:12:17 +03:00
parent eb82858d27
commit 3501226351
4 changed files with 28 additions and 18 deletions

26
zshrc
View file

@ -2,8 +2,8 @@
echo "Loading zgen..."
source ~/bin/zgen/zgen.zsh
source ~/bin/fixcolors
HIST_STAMPS="yyyy-mm-dd"
HISTFILE=~/.histfile
HISTSIZE=2000
@ -11,9 +11,7 @@ SAVEHIST=2000
setopt appendhistory autocd extendedglob
if [ -x /usr/bin/xset ]; then
if [ ${DISPLAY} ]; then
xset -b
fi
xset -b
fi
if [[ ${TERM} == st* ]]; then
@ -28,11 +26,7 @@ export LESS="-X -R -F"
alias http='python -m http.server'
export PATH=$HOME/bin:/usr/local/bin:$PATH
export PAGER=most
alias t=todo.sh
export EDITOR=mg
export VISUAL=emacs
export PAGER=most
export TERMINAL=${HOME}/bin/quickterm.sh
autoload 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-colors
zgen load supercrabtree/k
zgen load bobsoppe/zsh-ssh-agent
zgen save
fi
. ~/bin/aliases
#prompt fire 178 142 106 070 034
#prompt fire 125 234 084 054 020
# powerline
#source ~/.local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh
source ~/bin/powerline-shell-init
. ~/bin/aliases
if [[ ${TERM} == linux ]]; then
prompt pure
else
. ~/bin/powerlevel_vars
prompt powerlevel9k
fi
#alias t=todo.sh
unalias rm
unalias mv