mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
lib/misc: add the "What the hell did I do the other day?" function
This commit is contained in:
parent
d1136186c7
commit
9bedf2977a
1 changed files with 10 additions and 0 deletions
10
lib/misc.zsh
10
lib/misc.zsh
|
|
@ -50,3 +50,13 @@ alias history='fc -l 1'
|
|||
## Examples: http://rubyurl.com/ZXv
|
||||
export GREP_OPTIONS='--color=auto'
|
||||
export GREP_COLOR='1;32'
|
||||
|
||||
# What the hell did I do the other day?
|
||||
function whatthehelldididoon() {
|
||||
for repo in `find . -name '.hg'`
|
||||
do
|
||||
echo $repo
|
||||
hg .. -R $repo/.. -d "$1" -u 'Steve Losh'
|
||||
done
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue