Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Various simplifications of my life

  • Loading branch information...
commit c50a8d06be3bdce1219bdc8f6f7914ec9bc028cf 1 parent f12cd77
@derekwyatt authored
Showing with 24 additions and 2 deletions.
  1. +1 −0  inputrc
  2. +23 −2 zshrc
View
1  inputrc
@@ -1,3 +1,4 @@
+set editing-mode vi
set bell-style none
$if mode=vi
set keymap vi-command
View
25 zshrc
@@ -42,7 +42,7 @@ if [ $(uname) = Darwin ]; then
export PATH=.:~/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
else
alias open=gnome-open
- export PATH=.:buildutil:/home/dwyatt/local/bin:/home/dwyatt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/qnx650/host/linux/x86/usr/bin:/etc/qnx/bin
+ export PATH=.:buildutil:~/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
fi
export GPGKEY=B2F6D883
@@ -66,7 +66,7 @@ function eecho
function findWithSpec
{
local dirs=
- local egrepopts="-v '\\.sw[po]\\$|/\\.git/|^\\.git/'"
+ local egrepopts="-v '\\.sw[po]\\$|/\\.git/|^\\.git/|/\\.svn/|^\\.svn/'"
local nullprint=
while [[ $# != 0 ]];
do
@@ -141,6 +141,24 @@ function findm
}
alias findmz="findm -Z"
+function findpom
+{
+ findWithSpec "$@" "-name pom.xml"
+}
+alias findpomz="findpom -Z"
+
+function findx
+{
+ findWithSpec "$@" "-name \*.xml"
+}
+alias findxz="findx -Z"
+
+function findd
+{
+ findWithSpec "$@" "-type d"
+}
+alias finddz="findd -Z"
+
alias f=findWithSpec
function findClass
@@ -198,11 +216,14 @@ function gitall
alias swps='find . -name .\*.sw[op]'
alias rmstd='xargs rm -vf'
alias xag='xargs -0 egrep'
+alias xg='xargs egrep'
+alias xgi='xargs egrep -i'
alias pd="cd -"
alias grss='for f in $(find . -type d -a -name .git); do x=${f%/.git}; echo ==== $x; (cd $x; gss); done'
alias gd='git diff'
alias gdc='git diff --cached'
alias o=octave
+alias mvn=~/bin/mvn-colour
alias sc=screen
alias scl="screen -list"
Please sign in to comment.
Something went wrong with that request. Please try again.