mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Merge commit 'rubbyrussell/master' into integrate
This commit is contained in:
commit
33b1c1982e
7 changed files with 51 additions and 18 deletions
|
|
@ -44,7 +44,7 @@ if [ -f ~/.ssh/known_hosts ]; then
|
|||
fi
|
||||
|
||||
# Complete on history
|
||||
# zstyle ':completion:*:history-words' stop yes
|
||||
# zstyle ':completion:*:history-words' remove-all-dups yes
|
||||
# zstyle ':completion:*:history-words' list false
|
||||
# zstyle ':completion:*:history-words' menu yes
|
||||
#zstyle ':completion:*:history-words' stop yes
|
||||
#zstyle ':completion:*:history-words' remove-all-dups yes
|
||||
#zstyle ':completion:*:history-words' list false
|
||||
#zstyle ':completion:*:history-words' menu yes
|
||||
|
|
|
|||
|
|
@ -3,4 +3,6 @@ setopt correct_all
|
|||
alias man='nocorrect man'
|
||||
alias mv='nocorrect mv'
|
||||
alias mysql='nocorrect mysql'
|
||||
alias mv='nocorrect mv'
|
||||
alias mkdir='nocorrect mkdir'
|
||||
alias gist='nocorrect gist'
|
||||
alias heroku='nocorrect heroku'
|
||||
|
|
|
|||
|
|
@ -58,3 +58,20 @@ function tm() {
|
|||
cd $1
|
||||
mate $1
|
||||
}
|
||||
|
||||
# To use: add a .lighthouse file into your directory with the URL to the
|
||||
# individual project. For example:
|
||||
# https://rails.lighthouseapp.com/projects/8994
|
||||
# Example usage: http://screencast.com/t/ZDgwNDUwNT
|
||||
open_lighthouse_ticket () {
|
||||
if [ ! -f .lighthouse-url ]; then
|
||||
echo "There is no .lighthouse file in the current directory..."
|
||||
return 0;
|
||||
else
|
||||
lighthouse_url=$(cat .lighthouse-url);
|
||||
echo "Opening ticket #$1";
|
||||
`open $lighthouse_url/tickets/$1`;
|
||||
fi
|
||||
}
|
||||
|
||||
alias lho='open_lighthouse_ticket'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue