Преглед изворни кода

Remove tty config and more

pull/15/head
10sr пре 7 година
родитељ
комит
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…
Откажи
Сачувај