diff options
author | Corey Woodcox <corey.woodcox@gmail.com> | 2012-05-28 18:30:14 -0600 |
---|---|---|
committer | Corey Woodcox <corey.woodcox@gmail.com> | 2012-05-28 18:30:14 -0600 |
commit | a1a1f456b3f9204ec794e3b81d55a899de8fd92f (patch) | |
tree | fb9069564d36ebaee287011d15e7f634d1b7305a /plugins | |
parent | 0b70b6d0483210b7fcc74ee1073c7de887f4f3ac (diff) | |
parent | 3fdaf26006e3f075e7ccefd2721295b8bc5172f9 (diff) | |
download | zsh-a1a1f456b3f9204ec794e3b81d55a899de8fd92f.tar.gz zsh-a1a1f456b3f9204ec794e3b81d55a899de8fd92f.tar.bz2 zsh-a1a1f456b3f9204ec794e3b81d55a899de8fd92f.zip |
Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/python/python.plugin.zsh | 5 | ||||
-rw-r--r-- | plugins/sublime/sublime.plugin.zsh | 3 | ||||
-rw-r--r-- | plugins/svn/svn.plugin.zsh | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/plugins/python/python.plugin.zsh b/plugins/python/python.plugin.zsh index 3ea34d718..8be3cd863 100644 --- a/plugins/python/python.plugin.zsh +++ b/plugins/python/python.plugin.zsh @@ -2,4 +2,7 @@ alias pyfind='find . -name "*.py"' # Remove python compiled byte-code -alias pyclean='find . -type f -name "*.py[co]" -exec rm -f \{\} \;' +alias pyclean='find . -type f -name "*.py[co]" -delete' + +# Grep among .py files +alias pygrep='grep --include="*.py"' diff --git a/plugins/sublime/sublime.plugin.zsh b/plugins/sublime/sublime.plugin.zsh new file mode 100644 index 000000000..c42c68df1 --- /dev/null +++ b/plugins/sublime/sublime.plugin.zsh @@ -0,0 +1,3 @@ +# Sublime Text 2 Aliases +alias st='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl' +alias stt='st .' diff --git a/plugins/svn/svn.plugin.zsh b/plugins/svn/svn.plugin.zsh index e2cf96ca3..4d5bfb8dd 100644 --- a/plugins/svn/svn.plugin.zsh +++ b/plugins/svn/svn.plugin.zsh @@ -16,7 +16,7 @@ function svn_get_repo_name { if [ $(in_svn) ]; then svn info | sed -n 's/Repository\ Root:\ .*\///p' | read SVN_ROOT - svn info | sed -n "s/URL:\ .*$SVN_ROOT\///p" | sed "s/\/.*$//" + svn info | sed -n "s/URL:\ .*$SVN_ROOT\///p" fi } |