From 9d5054e8143c8938969539c5f9fde146d590c293 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 7 Aug 2012 13:29:03 +0900 Subject: [PATCH] fix sh alias --- _keysnail.js | 2 +- bashrc | 2 +- emacs.el | 9 +++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/_keysnail.js b/_keysnail.js index dc53375..4ae1117 100644 --- a/_keysnail.js +++ b/_keysnail.js @@ -199,7 +199,7 @@ ext.add("strong-fullscreen", function(){ } var tabs = document.getElementById("verticaltabs-box"); - if(tabs){ + if(tabs){ var pref_key = "extensions.verticaltabs.width"; var pref_key_bak = pref_key + "_bak" if(isfullscreen){ diff --git a/bashrc b/bashrc index f56118e..08a3eaa 100755 --- a/bashrc +++ b/bashrc @@ -117,7 +117,7 @@ alias py3=python3 alias py2=python2 alias _reloadrc="test -f ~/.bashrc && source ~/.bashrc" # alias mytime="date +%Y%m%d-%H%M%S" -alias sh="ENV=$HOME/.shrc PS1=\$\ sh" +alias sh="ENV=$HOME/.shrc PS1=\$\ PROMPT_COMMAND="" sh" # type trash >/dev/null 2>&1 && alias rm=trash alias mpg123="mpg123 -C -v --title" export PLAYER="mpg123 -C -v --title" diff --git a/emacs.el b/emacs.el index 4adb37a..8132bf7 100644 --- a/emacs.el +++ b/emacs.el @@ -1,6 +1,7 @@ ;; (and (file-readable-p "~/.dotfiles/emacs.el") ;; (load-file "~/.dotfiles/emacs.el")) +;; make directories (unless (file-directory-p (expand-file-name user-emacs-directory)) (make-directory (expand-file-name user-emacs-directory))) (let ((d (expand-file-name (concat user-emacs-directory @@ -477,7 +478,7 @@ drill-instructor.el" (setq-default tab-width 4) (setq-default indent-tabs-mode nil) (setq-default indent-line-function nil) - ;(pc-selection-mode 1) ; this make some already defined keybind back to default +;; (pc-selection-mode 1) ; make some already defined keybind back to default (delete-selection-mode 1) (cua-mode 0) (setq line-move-visual nil) @@ -611,8 +612,9 @@ drill-instructor.el" (define-key gtags-mode-map (kbd "C-x t b") 'gtags-pop-stack) ;back )) -(and (dllib-if-unfound "https://github.com/10sr/emacs-lisp/raw/master/read-only-only-mode.el" - t) +(and (dllib-if-unfound + "https://github.com/10sr/emacs-lisp/raw/master/read-only-only-mode.el" + t) (require 'read-only-only-mode nil t)) (add-hook 'verilog-mode-hook @@ -1946,4 +1948,3 @@ delete; o: select other; j, l: enlarge; h, k: shrink; q: quit." (when window-system (setq w32-enable-synthesized-fonts t)) (setq file-name-coding-system 'sjis)) -