Permalink
Browse files

Miscellaneous cleanup.

  • Loading branch information...
1 parent da92076 commit 1dd6a0daf987f6a85f5f1fcc9a6d63fb1f1f24a0 @MikeMcQuaid committed Nov 25, 2012
Showing with 6 additions and 24 deletions.
  1. +0 −5 ackrc
  2. +0 −3 gitignore
  3. +1 −1 install-dotfiles.sh
  4. +5 −10 shrc
  5. +0 −5 zshrc
View
@@ -1,12 +1,7 @@
--type-set=cmake=CMakeLists.txt,.cmake
--type-set=qmake=.pro
--type-set=txt=.txt
---type-set=lzz=.lzz
--type-set=markdown=.md,.markdown
--ignore-dir=b
---ignore-dir=bdebug
---ignore-dir=brelease
---ignore-dir=_site
---ignore-dir=_site.min
--ignore-dir=log
--ignore-dir=vendor
View
@@ -13,7 +13,6 @@ ui_*.h
.DS_Store
.tm_properties
-CMakeLists.txt.user
CMakeFiles/
CMakeCache.txt
cmake_install.cmake
@@ -23,5 +22,3 @@ install_manifest.txt
*.xcodeproj/xcuserdata/
b/
-bdebug/
-brelease/
View
@@ -1,5 +1,5 @@
#!/bin/sh
-# Install all my dotfiles into my home directory
+# Install all dotfiles into the home directory
DOTFILESDIRREL=$(dirname $0)
cd $DOTFILESDIRREL
View
@@ -1,9 +1,9 @@
-# 077 would be more secure, but 022 is generally quite realistic
+# 077 would be more secure, but 022 is more useful.
umask 022
# Save more history
-export HISTSIZE=10000
-export SAVEHIST=10000
+export HISTSIZE=100000
+export SAVEHIST=100000
# OS variables
[ $(uname -s) = "Darwin" ] && export OSX=1 && export UNIX=1
@@ -25,9 +25,6 @@ export LESS_TERMCAP_us=$'\E[01;32m'
# Set to avoid `env` output from changing console colour
export LESS_TERMEND=$'\E[0m'
-# Qt development
-export QTEST_COLORED=1
-
# Count CPUs for Make jobs
if [ $OSX ]
then
@@ -98,16 +95,13 @@ alias mv="mv -iv"
alias cp="cp -irv"
alias du="du -sh"
alias make="nice make"
-alias ps="ps aux"
alias less="less --ignore-case --raw-control-chars"
alias rsync="rsync --partial --progress --human-readable --compress"
alias upbrew="scp-to-http.sh mikemcquaid,machomebrew frs.sourceforge.net /home/frs/project/m/ma/machomebrew/Bottles /Library/Caches/Homebrew/"
alias svn="svn-git.sh"
-alias be="bundle exec"
-
# Platform-specific stuff
if quiet_which brew
then
@@ -150,6 +144,7 @@ then
fi
# Set up editor
+quiet_which vi && export EDITOR="vi"
quiet_which vim && export EDITOR="vim"
if quiet_which subl || quiet_which sublime_text
@@ -171,7 +166,7 @@ quiet_which rbenv && eval "$(rbenv init -)"
# Aliases using variables
alias ed="$EDITOR"
-# Load last directory
+# Save directory changes
cd() {
builtin cd "$@" || return
ls
View
@@ -23,9 +23,6 @@ zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
# Case insensitive globbing
setopt no_case_glob
-# Change to directory by just entering name
-setopt auto_cd
-
# Don't show duplicate history entires
setopt hist_find_no_dups
@@ -71,9 +68,7 @@ fi
RPROMPT='%{$fg_bold[red]%}$(git_branch)%{$fg_bold[yellow]%}$(svn_branch)%b[%{$fg_bold[blue]%}%~%b%f]'
# History
-export HISTSIZE=2000
export HISTFILE=~/.zsh_history
-export SAVEHIST=$HISTSIZE
# use emacs bindings even with vim as EDITOR
bindkey -e

0 comments on commit 1dd6a0d

Please sign in to comment.