Merge branch 'master' of github.com:samsonjs/config
This commit is contained in:
commit
e916f6713f
3 changed files with 24 additions and 15 deletions
30
emacs
30
emacs
|
|
@ -91,7 +91,9 @@
|
|||
;; chmod u+x files that have a shebang line
|
||||
(add-hook 'after-save-hook 'executable-make-buffer-file-executable-if-script-p)
|
||||
|
||||
(add-to-list 'auto-mode-alist '("zsh\(rc\|env\)$" . sh-mode))
|
||||
(add-to-list 'auto-mode-alist '("zshenv$" . sh-mode))
|
||||
(add-to-list 'auto-mode-alist '("zshrc$" . sh-mode))
|
||||
|
||||
|
||||
|
||||
;;;;;;;;;;
|
||||
|
|
@ -136,17 +138,6 @@
|
|||
(require 'tagify)
|
||||
|
||||
|
||||
;;;;;;;;;;;;;;;;;;
|
||||
;; mojo (webOS) ;;
|
||||
;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(require 'mojo)
|
||||
|
||||
;; enable Mojo for CSS, HTML, JS, and JSON files within a Mojo project
|
||||
;; root. Did I forget anything?
|
||||
(mojo-setup-mode-hooks 'css-mode-hook 'js2-mode-hook 'espresso-mode-hook 'html-mode-hook)
|
||||
|
||||
|
||||
;;;;;;;;;;;;;;;;
|
||||
;; javascript ;;
|
||||
;;;;;;;;;;;;;;;;
|
||||
|
|
@ -161,6 +152,19 @@
|
|||
;;(add-to-list 'auto-mode-alist '("\\.js$" . espresso-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.json$" . espresso-mode))
|
||||
|
||||
(add-hook 'js2-mode-hook 'c-subword-mode)
|
||||
|
||||
|
||||
;;;;;;;;;;;;;;;;;;
|
||||
;; mojo (webOS) ;;
|
||||
;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(require 'mojo)
|
||||
|
||||
;; enable Mojo for CSS, HTML, JS, and JSON files within a Mojo project
|
||||
;; root. Did I forget anything?
|
||||
(mojo-setup-mode-hooks 'css-mode-hook 'js2-mode-hook 'espresso-mode-hook 'html-mode-hook)
|
||||
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; inferior javascript ;;
|
||||
|
|
@ -421,7 +425,7 @@
|
|||
'(js2-mode-escape-quotes nil)
|
||||
'(js2-strict-inconsistent-return-warning nil)
|
||||
'(mojo-build-directory "~/Projects/brighthouse/webOS/build")
|
||||
'(mojo-debug t)
|
||||
'(mojo-debug nil)
|
||||
'(mojo-project-directory "~/Projects/brighthouse/webOS")
|
||||
'(remote-shell-program "/usr/bin/ssh")
|
||||
'(save-place t nil (saveplace))
|
||||
|
|
|
|||
|
|
@ -305,6 +305,11 @@ alias g='git grep'
|
|||
alias m='git merge'
|
||||
alias s='git status'
|
||||
|
||||
# macports apachectl
|
||||
if mac; then
|
||||
alias -g apache2ctl=/opt/local/apache2/bin/apachectl
|
||||
fi
|
||||
|
||||
function svnst() {
|
||||
tmpfile=/tmp/svn-stat.$$
|
||||
[[ -f $tmpfile ]] && rm -f $tmpfile
|
||||
|
|
|
|||
2
zshenv
2
zshenv
|
|
@ -1,4 +1,4 @@
|
|||
path=($HOME/bin $HOME/apps/bin $HOME/src/tlrobinson-narwhal-b6e4dbb/bin /usr/local/bin /usr/local/sbin /opt/local/bin /opt/local/sbin $path)
|
||||
path=($HOME/bin $HOME/apps/bin $HOME/apps/android-sdk-mac_86/tools $HOME/src/tlrobinson-narwhal-b6e4dbb/bin $HOME/Projects/narwhal/bin /usr/local/bin /usr/local/sbin /opt/local/bin /opt/local/sbin $path)
|
||||
ZDOTDIR=~/config/zsh
|
||||
|
||||
fpath=($fpath $ZDOTDIR/func)
|
||||
|
|
|
|||
Loading…
Reference in a new issue