Browse Source

fix typo and so on

pull/1/head
10sr 12 years ago
parent
commit
f0f244c618
3 changed files with 5 additions and 4 deletions
  1. +3
    -3
      bashrc
  2. +1
    -1
      emacs.el
  3. +1
    -0
      setup.sh

+ 3
- 3
bashrc View File

@@ -39,7 +39,7 @@ then
else else
export PAGER="less" export PAGER="less"
fi fi
export LESS="-iRMXF"
export LESS="-iRMX"


if null type vim if null type vim
then then
@@ -51,7 +51,7 @@ export LANG=ja_JP.UTF-8
export LC_MESSAGES=C export LC_MESSAGES=C
# export CDPATH=".:~" # export CDPATH=".:~"
export VISUAL="$EDITOR" export VISUAL="$EDITOR"
export GIT_PAGER="$PAGER"
export GIT_PAGER="less -F"
export GIT_EDITOR="$EDITOR" export GIT_EDITOR="$EDITOR"
echo "$TERM" | grep '^screen' >/dev/null 2>&1 || export TERM_ORIG=$TERM echo "$TERM" | grep '^screen' >/dev/null 2>&1 || export TERM_ORIG=$TERM
test "$TERM" = screen && test "$TERM_ORIG" = xterm-256color && TERM=screen-256color test "$TERM" = screen && test "$TERM_ORIG" = xterm-256color && TERM=screen-256color
@@ -105,7 +105,7 @@ iswindows && alias grep="grep -n"
# alias ll="ls -l" # alias ll="ls -l"
# alias la="ls -A" # alias la="ls -A"
# alias lla="ls -Al" # alias lla="ls -Al"
# alias less=""
alias less="less -F"
alias em="emacs -nw" alias em="emacs -nw"
null type vim && alias vi=vim null type vim && alias vi=vim
alias pstree="LANG=C pstree" alias pstree="LANG=C pstree"


+ 1
- 1
emacs.el View File

@@ -282,7 +282,7 @@ otherwise the path where the library installed."
(setq completion-ignore-case t (setq completion-ignore-case t
read-file-name-completion-ignore-case t read-file-name-completion-ignore-case t
read-buffer-completion-ignore-case t) read-buffer-completion-ignore-case t)
(setq resize-mini-window t)
(setq resize-mini-windows t)
(temp-buffer-resize-mode 1) (temp-buffer-resize-mode 1)
(savehist-mode 1) (savehist-mode 1)




+ 1
- 0
setup.sh View File

@@ -71,6 +71,7 @@ git_config(){
# git config --global alias.ll "!git ls-files | xargs ls -l -CFG --color=auto --time-style=long-iso" # git config --global alias.ll "!git ls-files | xargs ls -l -CFG --color=auto --time-style=long-iso"
git config --global alias.addi "add -i" git config --global alias.addi "add -i"
git config --global alias.clean-p "!test -z \"\$(git status -s -uno)\"" git config --global alias.clean-p "!test -z \"\$(git status -s -uno)\""
# git config --global push.default "simple"
if _iswindows; then if _iswindows; then
git config --global core.fileMode false git config --global core.fileMode false
fi fi


Loading…
Cancel
Save