Browse Source

add -X option of less

pull/1/head
10sr 13 years ago
parent
commit
10b0f56ac1
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      .bashrc

+ 5
- 4
.bashrc View File

@@ -44,18 +44,19 @@ export PS1="\$(prompt_function)\$ "
# PROMPT_COMMAND=prompt_function
export PAGER="less"
export EDITOR="vi"
export VISUAL=$EDITOR
export LESS="-iRM"
export VISUAL="$EDITOR"
export LESS="-iRMX"
# export LC_MESSAGES="C"
# export LANG=ja_JP.UTF-8
# export CDPATH=".:~" # 使い方がよく分からない
export GIT_PAGER=$PAGER
export GIT_EDITOR=$EDITOR
export GIT_PAGER="$PAGER"
export GIT_EDITOR="$EDITOR"

alias ls="ls -CFG $(test "$TERM" == dumb || echo --color=auto) --time-style=long-iso"
alias ll="ls -l"
alias la="ls -A"
alias lla="ls -Al"
# alias less=""
alias vl=/usr/share/vim/vimcurrent/macros/less.sh
alias em="emacs -nw"
alias apt-get="sudo apt-get"


Loading…
Cancel
Save