Browse Source

Merge branch 'master' of github.com:10sr/myrcfiles

Conflicts:
	.bashrc
pull/1/head
10sr 13 years ago
parent
commit
de5bf9ce1a
2 changed files with 11 additions and 6 deletions
  1. +7
    -6
      .bashrc
  2. +4
    -0
      .emacs.el

+ 7
- 6
.bashrc View File

@@ -44,25 +44,26 @@ export PS1="\$(prompt_function)\$ "
# PROMPT_COMMAND=prompt_function # PROMPT_COMMAND=prompt_function
export PAGER="less" export PAGER="less"
export EDITOR="vi" export EDITOR="vi"
export VISUAL=$EDITOR
export LESS="-iRM"
export VISUAL="$EDITOR"
export LESS="-iRMX"
# export LC_MESSAGES="C" # export LC_MESSAGES="C"
# export LANG=ja_JP.UTF-8 # export LANG=ja_JP.UTF-8
# export CDPATH=".:~" # 使い方がよく分からない # 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 ls="ls -CFG $(test "$TERM" == dumb || echo --color=auto) --time-style=long-iso"
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 vl=/usr/share/vim/vimcurrent/macros/less.sh alias vl=/usr/share/vim/vimcurrent/macros/less.sh
alias em="emacs -nw" alias em="emacs -nw"
alias apt-get="sudo apt-get" alias apt-get="sudo apt-get"
alias aptin="apt-get install" alias aptin="apt-get install"
alias aptsearch="apt-cache search" alias aptsearch="apt-cache search"
alias aptshow="apt-cache show" alias aptshow="apt-cache show"
alias ut="slogin t110414@un001.ecc.u-tokyo.ac.jp"
alias ut="ssh t110414@un001.ecc.u-tokyo.ac.jp"
alias rand="echo \$RANDOM" alias rand="echo \$RANDOM"
alias xunp="file-roller -h" alias xunp="file-roller -h"
alias pacome="sudo \paco -D" alias pacome="sudo \paco -D"
@@ -399,7 +400,7 @@ echo "Japanese letters are 表示可能"


safe-cmd diskinfo safe-cmd diskinfo


isdarwin || type xrandr >/dev/null 2>&1 && {
isdarwin || test -n "${DESKTOP_SESSION}" && type xrandr >/dev/null 2>&1 && {
xrandr | grep --color=never ^Screen xrandr | grep --color=never ^Screen
} }




+ 4
- 0
.emacs.el View File

@@ -603,6 +603,10 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB."
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; mode関連 ;; mode関連


(add-hook 'verilog-mode-hook
(lambda ()
(define-key verilog-mode-map ";" 'self-insert-command)))

(setq diff-switches "-u") (setq diff-switches "-u")
(add-hook 'diff-mode-hook (add-hook 'diff-mode-hook
(lambda () (lambda ()


Loading…
Cancel
Save