Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

tmuxのpromptをemacsキーバインドにした。ほか

  • Loading branch information...
commit 7e05f27eddaa35ac7b8696c75e0f50152db833d8 1 parent 846e74b
@tmsanrinsha authored
Showing with 11 additions and 2 deletions.
  1. +5 −0 .tmux.conf
  2. +5 −1 .zashrc
  3. +1 −1  .zshrc.local
View
5 .tmux.conf
@@ -153,6 +153,11 @@ bind-key S set-window-option synchronize-panes
set-window-option -g mode-key vi
#}}}
+# command prompt {{{
+# =============================================================================
+set-window-option -g status-keys emacs
+# }}}
+
# mouse {{{
# ==============================================================================
# マウスドラッグでコピーモード
View
6 .zashrc
@@ -73,7 +73,11 @@ alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias pg='ps aux | grep'
alias pe='ps aux | egrep'
-alias tree='tree -FC'
+# tree
+# -F:ディレクトリなら/をつけるなど
+# -C:color
+# -l:ディレクトリのシンボリックリンクを追う
+alias tree='tree -FCl'
alias diff='diff -u'
alias smw='sudo chmod a+w'
View
2  .zshrc.local
@@ -21,7 +21,7 @@ fg_yellow=$'\e'"[33m"
fg_red=$'\e'"[31m"
bg_red=$'\e'"[41m"
-#if ! hostname | grep dev; then
+#if ! hostname | grep dev 1>/dev/null 2>&1; then
# PROMPT="${user_color}%n%{${reset_color}%}@${host_color}%B%S%M%b%s%{${reset_color}%}"
# RPROMPT="%{${fg_red}%}production%{${reset_color}%}"
#else
Please sign in to comment.
Something went wrong with that request. Please try again.