瀏覽代碼

Remove tty config and more

pull/15/head
10sr 8 年之前
父節點
當前提交
d526f98ae1
共有 3 個檔案被更改,包括 14 行新增6 行删除
  1. +1
    -1
      Makefile
  2. +2
    -2
      profile
  3. +11
    -3
      shrc

+ 1
- 1
Makefile 查看文件

@@ -468,5 +468,5 @@ sexp_elisp_syntax_check := \

$(test_syntax_els): test-syntax-%: $(dotfiles_dir)/%
test -n "$(emacs)" && \
$(emacs) -t $(shell tty) -Q --debug-init --batch \
$(emacs) -Q --debug-init --batch \
--eval '(let ((file "$<")) $(sexp_elisp_syntax_check))' --kill

+ 2
- 2
profile 查看文件

@@ -58,7 +58,7 @@ export TERMCAP="${TERMCAP}:vb="
# export ENV=~/.shrc

export PAGER="less"
export LESS="-iRMX"
export LESS="-iRM"

# Style for lesspipe is defined in esc.style
_src_hilite_lp_path="`command -v src-hilite-lesspipe.sh 2>/dev/null`"
@@ -87,7 +87,7 @@ then
fi

# export CDPATH=".:~"
export GIT_PAGER="less -F"
export GIT_PAGER="less -FX"
export GIT_MERGE_AUTOEDIT=no

if test -n "$TMUX" && \


+ 11
- 3
shrc 查看文件

@@ -280,7 +280,7 @@ _timeformat_rfc2822="%a, %d %b %Y %T %z"
_timeformat_num="%Y%m%d%H%M%S"
alias datenum="date +$_timeformat_num"

alias less="less -F"
alias less="less -FX"
__safe_alias em="emacs -nw"
test -n "$_VI_ALT" && alias vi=$_VI_ALT
alias pstree="LANG=C pstree"
@@ -469,7 +469,11 @@ g(){
fi
}

$isdarwin && . /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-completion.bash
$isdarwin && $inbash && \
. /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-completion.bash
$isdarwin && $inzsh && \
. /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-completion.zsh

if null type _git && $inbash
then
# enable programmable completion for g
@@ -1036,6 +1040,7 @@ __my_ps1_moc(){
__my_moc_state "[MOC:%s]"
}

echo BBB
for f in /usr/share/git/git-prompt.sh \
/Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-prompt.sh \
/usr/local/opt/bash-git-prompt/share/gitprompt.sh \
@@ -1046,7 +1051,10 @@ for f in /usr/share/git/git-prompt.sh \
/opt/local/share/git-core/git-prompt.sh \
/opt/local/share/doc/git-core/contrib/completion/git-prompt.sh
do
test -r "$f" && ($inbash || $inzsh) && . "$f" && break
if test -r "$f" && ($inbash || $inzsh)
then
echo Srouce $f
fi
done
export GIT_PS1_SHOWDIRTYSTATE=t
export GIT_PS1_SHOWUPSTREAM=t


Loading…
取消
儲存