shell bits that needed to be fixed.
This commit is contained in:
parent
c1582d93fd
commit
cc75e76c65
2 changed files with 18 additions and 6 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
function powerline_precmd() {
|
function powerline_precmd() {
|
||||||
PS1="$(/home/truck/stuff/powerline-shell/powerline-shell.py $? --shell zsh 2> /dev/null)"
|
PS1="$(/home/truck/sturf/banga-powerline/powerline-shell.py $? --shell zsh 2> /dev/null)"
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_powerline_precmd() {
|
function install_powerline_precmd() {
|
||||||
|
|
|
||||||
22
zshrc
22
zshrc
|
|
@ -7,7 +7,19 @@ HISTFILE=~/.histfile
|
||||||
HISTSIZE=2000
|
HISTSIZE=2000
|
||||||
SAVEHIST=2000
|
SAVEHIST=2000
|
||||||
setopt appendhistory autocd extendedglob
|
setopt appendhistory autocd extendedglob
|
||||||
xset -b
|
|
||||||
|
if [ -x /usr/bin/xset ]; then
|
||||||
|
if [ -v DISPLAY]; then
|
||||||
|
xset -b
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ${TERM} == st* ]]; then
|
||||||
|
if [ ! -e /usr/share/terminfo/s/st-256color ]; then
|
||||||
|
export TERM=xterm-256color
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
unsetopt beep
|
unsetopt beep
|
||||||
bindkey -e
|
bindkey -e
|
||||||
export LESS="-X -R -F"
|
export LESS="-X -R -F"
|
||||||
|
|
@ -48,10 +60,10 @@ fi
|
||||||
|
|
||||||
. ~/bin/aliases
|
. ~/bin/aliases
|
||||||
|
|
||||||
prompt fire 125 234 084 054 020
|
#prompt fire 125 234 084 054 020
|
||||||
|
# powerline
|
||||||
# powerline (arch location)
|
#source ~/.local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh
|
||||||
#. /usr/share/zsh/site-contrib/powerline.zsh
|
source ~/bin/powerline-shell-init
|
||||||
|
|
||||||
unalias rm
|
unalias rm
|
||||||
unalias mv
|
unalias mv
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue