mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
This commit is contained in:
commit
dee47e7ef5
4 changed files with 11 additions and 6 deletions
|
|
@ -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"'
|
||||
|
|
|
|||
3
plugins/sublime/sublime.plugin.zsh
Normal file
3
plugins/sublime/sublime.plugin.zsh
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Sublime Text 2 Aliases
|
||||
alias st='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'
|
||||
alias stt='st .'
|
||||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue