mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
Merge branch 'master' of gitosis@majnematic.com:davesdots
This commit is contained in:
commit
d1adab7388
6 changed files with 48 additions and 11 deletions
|
@ -3,6 +3,7 @@
|
||||||
ci = commit
|
ci = commit
|
||||||
st = status
|
st = status
|
||||||
di = diff --color-words
|
di = diff --color-words
|
||||||
|
up = pull
|
||||||
[color]
|
[color]
|
||||||
diff = auto
|
diff = auto
|
||||||
status = auto
|
status = auto
|
||||||
|
|
3
screenrc
3
screenrc
|
@ -19,9 +19,6 @@ nethack on
|
||||||
# mess with bold
|
# mess with bold
|
||||||
attrcolor b ".I"
|
attrcolor b ".I"
|
||||||
|
|
||||||
# get screen to go for 256 colors
|
|
||||||
termcapinfo xterm-256color 'Co#256'
|
|
||||||
|
|
||||||
# erase background with current bg color
|
# erase background with current bg color
|
||||||
defbce on
|
defbce on
|
||||||
|
|
||||||
|
|
6
vimrc
6
vimrc
|
@ -7,10 +7,8 @@ if has ('multi_byte') " Make sure we have unicode support
|
||||||
scriptencoding utf-8 " This file is in UTF-8
|
scriptencoding utf-8 " This file is in UTF-8
|
||||||
|
|
||||||
" ---- Terminal Setup ----
|
" ---- Terminal Setup ----
|
||||||
if (&termencoding == "")
|
if (&termencoding == "" && &term =~ "xterm") || (&term =~ "rxvt-unicode")
|
||||||
if (&term =~ "xterm") || (&term =~ "rxvt-unicode")
|
set termencoding=utf-8
|
||||||
set termencoding=utf-8
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
set encoding=utf-8 " Default encoding should always be UTF-8
|
set encoding=utf-8 " Default encoding should always be UTF-8
|
||||||
endif
|
endif
|
||||||
|
|
19
zsh/git
Executable file
19
zsh/git
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
if [[ -d /usr/local/git/man ]] ; then
|
||||||
|
if [[ -z "${MANPATH}" ]] ; then
|
||||||
|
export MANPATH="/usr/local/git/man":$(manpath)
|
||||||
|
else
|
||||||
|
export MANPATH="/usr/local/git/man:${MANPATH}"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -d /usr/local/git/bin ]] ; then
|
||||||
|
if [[ -z "${PATH}" ]] ; then
|
||||||
|
export PATH="/usr/local/git/bin"
|
||||||
|
else
|
||||||
|
export PATH="/usr/local/git/bin:${PATH}"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -d /usr/local/git/libexec/git-core ]] ; then
|
||||||
|
export PATH="/usr/local/git/libexec/git-core:${PATH}"
|
||||||
|
fi
|
23
zsh/ports
Executable file
23
zsh/ports
Executable file
|
@ -0,0 +1,23 @@
|
||||||
|
if [[ -d /opt/local/man ]] ; then
|
||||||
|
if [[ -z "${MANPATH}" ]] ; then
|
||||||
|
export MANPATH="/opt/local/man":$(manpath)
|
||||||
|
else
|
||||||
|
export MANPATH="/opt/local/man:${MANPATH}"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -d /opt/local/bin ]] ; then
|
||||||
|
if [[ -z "${PATH}" ]] ; then
|
||||||
|
export PATH="/opt/local/bin"
|
||||||
|
else
|
||||||
|
export PATH="/opt/local/bin:${PATH}"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -d /opt/local/sbin ]] ; then
|
||||||
|
export PATH="/opt/local/sbin:${PATH}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -d /opt/local/libexec ]] ; then
|
||||||
|
export PATH="/opt/local/libexec:${PATH}"
|
||||||
|
fi
|
7
zshrc
7
zshrc
|
@ -101,12 +101,11 @@ function fix_terminfo_db
|
||||||
{
|
{
|
||||||
if [[ `which infocmp` = "$1/bin/infocmp" ]] ; then
|
if [[ `which infocmp` = "$1/bin/infocmp" ]] ; then
|
||||||
export TERMINFO="$1/share/terminfo"
|
export TERMINFO="$1/share/terminfo"
|
||||||
export TERM=$TERM
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
( which lesspipe &> /dev/null ) && eval $(lesspipe)
|
( which lesspipe &> /dev/null ) && eval $(lesspipe)
|
||||||
export LESS=' -R'
|
export LESS='-iR'
|
||||||
|
|
||||||
( which less &> /dev/null ) && export PAGER='less'
|
( which less &> /dev/null ) && export PAGER='less'
|
||||||
|
|
||||||
|
@ -155,7 +154,7 @@ esac
|
||||||
|
|
||||||
export TERM=$(fix_term $TERM)
|
export TERM=$(fix_term $TERM)
|
||||||
|
|
||||||
if [[ $TERM == *256* ]] ; then
|
if [[ $TERM == *256* ]] && (infocmp screen-256color-bce &> /dev/null) ; then
|
||||||
export SCREEN_COLOR="-256color"
|
export SCREEN_COLOR="-256color"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -213,7 +212,7 @@ case $TERM in
|
||||||
bindkey '\e[1;5D' emacs-backward-word
|
bindkey '\e[1;5D' emacs-backward-word
|
||||||
bindkey '\e[3~' delete-char
|
bindkey '\e[3~' delete-char
|
||||||
;;
|
;;
|
||||||
linux)
|
linux|vt100)
|
||||||
bindkey '\e[1~' beginning-of-line
|
bindkey '\e[1~' beginning-of-line
|
||||||
bindkey '\e[4~' end-of-line
|
bindkey '\e[4~' end-of-line
|
||||||
bindkey '\e[3~' delete-char
|
bindkey '\e[3~' delete-char
|
||||||
|
|
Loading…
Add table
Reference in a new issue