Revert "shell bits that needed to be fixed."
This reverts commit cc75e76c65.
This commit is contained in:
parent
aa802af016
commit
6951b01f08
2 changed files with 6 additions and 18 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
function powerline_precmd() {
|
function powerline_precmd() {
|
||||||
PS1="$(/home/truck/sturf/banga-powerline/powerline-shell.py $? --shell zsh 2> /dev/null)"
|
PS1="$(/home/truck/stuff/powerline-shell/powerline-shell.py $? --shell zsh 2> /dev/null)"
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_powerline_precmd() {
|
function install_powerline_precmd() {
|
||||||
|
|
|
||||||
20
zshrc
20
zshrc
|
|
@ -7,19 +7,7 @@ HISTFILE=~/.histfile
|
||||||
HISTSIZE=2000
|
HISTSIZE=2000
|
||||||
SAVEHIST=2000
|
SAVEHIST=2000
|
||||||
setopt appendhistory autocd extendedglob
|
setopt appendhistory autocd extendedglob
|
||||||
|
|
||||||
if [ -x /usr/bin/xset ]; then
|
|
||||||
if [ -v DISPLAY]; then
|
|
||||||
xset -b
|
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"
|
||||||
|
|
@ -60,10 +48,10 @@ fi
|
||||||
|
|
||||||
. ~/bin/aliases
|
. ~/bin/aliases
|
||||||
|
|
||||||
#prompt fire 125 234 084 054 020
|
prompt fire 125 234 084 054 020
|
||||||
# powerline
|
|
||||||
#source ~/.local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh
|
# powerline (arch location)
|
||||||
source ~/bin/powerline-shell-init
|
#. /usr/share/zsh/site-contrib/powerline.zsh
|
||||||
|
|
||||||
unalias rm
|
unalias rm
|
||||||
unalias mv
|
unalias mv
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue