From 10b0f56ac186f2b247bae7212b51bf08f801f7ef Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 20 Dec 2011 12:37:15 +0900 Subject: [PATCH 1/3] add -X option of less --- .bashrc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.bashrc b/.bashrc index adeb3c3..b1ee448 100755 --- a/.bashrc +++ b/.bashrc @@ -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" From 56482b263633887cd7480b28a9da2ae64c00199a Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 20 Dec 2011 12:49:54 +0900 Subject: [PATCH 2/3] small changes --- .bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index adeb3c3..0cc5d27 100755 --- a/.bashrc +++ b/.bashrc @@ -62,7 +62,7 @@ alias apt-get="sudo apt-get" alias aptin="apt-get install" alias aptsearch="apt-cache search" 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 xunp="file-roller -h" alias pacome="sudo \paco -D" @@ -399,7 +399,7 @@ echo "Japanese letters are 表示可能" safe-cmd diskinfo -type xrandr >/dev/null 2>&1 && { +test -n "${DESKTOP_SESSION}" && type xrandr >/dev/null 2>&1 && { xrandr | grep --color=never ^Screen } iswindows || safe-cmd finger $USER From 827cb89e4cacd7e45119e563f8c67f58ad35e6ff Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 20 Dec 2011 16:13:42 +0900 Subject: [PATCH 3/3] add verilog setting --- .emacs.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.emacs.el b/.emacs.el index 0a7cdd7..24fbcaf 100644 --- a/.emacs.el +++ b/.emacs.el @@ -602,6 +602,10 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB." ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; mode関連 +(add-hook 'verilog-mode-hook + (lambda () + (define-key verilog-mode-map ";" 'self-insert-command))) + (setq diff-switches "-u") (add-hook 'diff-mode-hook (lambda ()