Commits

Mike Steder committed 1766f4e

Mostly customizations to make this behave nicely on the mac. I need to come up with a better solution to supporting different OSes, perhaps named branches for each OS?

  • Participants
  • Parent commits fb4f3b7

Comments (0)

Files changed (5)

 
 # enable color support of ls and also add handy aliases
 if [ "$TERM" != "dumb" ]; then
-    eval "`dircolors -b`"
-    alias ls='ls --color=auto -CF '
-    alias dir='ls --color=auto --format=vertical'
-    alias vdir='ls --color=auto --format=long'
     alias rm='rm -i'
     alias mv='mv -i'
     alias cp='cp -i'
 fi
 
 # some more ls aliases
-alias ll='ls -l'
-alias la='ls -A'
-alias l='ls -CF'
 alias findinpy="find . -name '*.py' | xargs egrep "
 alias svnflakes="svn status | grep '^\M\|^A' | cut -c 8- | xargs pyflakes | uniq"
 alias ducks='du -cks * |sort -rn |head -11'
     PATH=~/bin:"${PATH}"
 fi
 
+BREWPATH="/usr/local/share/python:/usr/local/bin:/usr/local/sbin"
+export PATH="${BREWPATH}:${PATH}"
+
+# VirtualEnv:
+VIRTUALENV=/usr/local/share/python/virtualenvwrapper.sh
+source ${VIRTUALENV}
+
 # COMBINATOR:
 #eval `/usr/bin/python ~/UQDS/Divmod/trunk/Combinator/environment.py`
 alias combinator='eval `/usr/bin/python ~/UQDS/Divmod/trunk/Combinator/environment.py`'

emacs.d/custom.el

   ;; If you edit it by hand, you could mess it up, so be careful.
   ;; Your init file should contain only one such instance.
   ;; If there is more than one, they won't work right.
- )
+ '(aquamacs-additional-fontsets nil t)
+ '(aquamacs-customization-version-id 211 t)
+ '(aquamacs-tool-bar-user-customization nil t)
+ '(column-number-mode nil)
+ '(default-frame-alist (quote ((foreground-color . "Black") (background-color . "White") (cursor-type . box) (cursor-color . "Red") (internal-border-width . 0) (left-fringe . 1) (right-fringe) (fringe) (tool-bar-lines . 0) (menu-bar-lines . 1) (vertical-scroll-bars . right))))
+ '(display-time-mode t)
+ '(mu-worlds (quote (["Waterfall Glen" "wfg.mcs.anl.gov" 7777 "mikeps" "bub4202"])))
+ '(ns-tool-bar-display-mode nil t)
+ '(ns-tool-bar-size-mode nil t)
+ '(size-indication-mode t)
+ '(visual-line-mode nil t))
 
 (custom-set-faces
   ;; custom-set-faces was added by Custom.
   ;; If you edit it by hand, you could mess it up, so be careful.
   ;; Your init file should contain only one such instance.
   ;; If there is more than one, they won't work right.
- '(default ((t (:inherit nil :stipple nil :background "black" :foreground "#eeeeec" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 98 :width medium :foundry "outline" :family "Courier New")))))
+ )
 

emacs.d/look_and_feel.el

 ;;; Tabbar! ^_^
 (require 'tabbar)
 ;; customize tabbar styles:
-(set-face-attribute
- 'tabbar-default-face nil
- :background "gray60")
-(set-face-attribute
- 'tabbar-unselected-face nil
- :background "black"
- :foreground "gray85"
- :box nil)
-(set-face-attribute
- 'tabbar-selected-face nil
- :background "gray85"
- :foreground "black"
- :box nil)
-(set-face-attribute
- 'tabbar-button-face nil
- :box '(:line-width 1 :color "gray72" :style released-button))
-(set-face-attribute
- 'tabbar-separator-face nil
- :height 0.7)
+;; (set-face-attribute
+;;  'tabbar-default-face nil
+;;  :background "gray60")
+;; (set-face-attribute
+;;  'tabbar-unselected-face nil
+;;  :background "black"
+;;  :foreground "gray85"
+;;  :box nil)
+;; (set-face-attribute
+;;  'tabbar-selected-face nil
+;;  :background "gray85"
+;;  :foreground "black"
+;;  :box nil)
+;; (set-face-attribute
+;;  'tabbar-button-face nil
+;;  :box '(:line-width 1 :color "gray72" :style released-button))
+;; (set-face-attribute
+;;  'tabbar-separator-face nil
+;;  :height 0.7)
 ;; 
+
 (tabbar-mode)
 (global-set-key [(control f10)] 'tabbar-local-mode)
 (global-set-key [(control shift tab)] 'tabbar-backward)

emacs.d/msproject.el

     "setup.py"
     "manage.py"
     )
-  "File(s) that identify the project rool"
+  "File(s) that identify the project root"
   )
 
 ;; Depending on the type of project

emacs.d/mspython.el

                         temp-file
                         (file-name-directory buffer-file-name))))
       (list "pyflakes" (list local-file))))
+;; If you need to change the xml command you can do it be defining a flymake-xml-init function:
+  ;; (defun flymake-xml-init ()
+  ;;   (list "/usr/local/bin/xml" (list "validate --err" (flymake-init-create-temp-buffer-copy
+  ;;                                           ;'flymake-create-temp-inplace
+  ;;                                           'flymake-create-temp-with-folder-structure
+  ;;                                           ))))
   (delete '("\\.html?\\'" flymake-xml-init) flymake-allowed-file-name-masks)
+  (delete '("\\.xml?\\'" flymake-xml-init) flymake-allowed-file-name-masks)
   (add-to-list 'flymake-allowed-file-name-masks
                '("\\.py\\'" flymake-pyflakes-init)))
-
+;; 
 (add-hook 'find-file-hook 'flymake-find-file-hook)
 
 ;; run pyflakes(instead of pychecker) manually with C-c C-w: