mirror of
https://github.com/artizirk/dotfiles.git
synced 2024-11-21 16:00:59 +02:00
Add history search command to zsh
This commit is contained in:
parent
8af0dec58a
commit
575d2d934b
2
.zshrc
2
.zshrc
@ -91,6 +91,8 @@ function new-scratch {
|
|||||||
echo "New scratch dir ready for grinding ;>"
|
echo "New scratch dir ready for grinding ;>"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
histsearch() { fc -lim "*$@*" 1 }
|
||||||
|
|
||||||
alias pacman="sudo pacman"
|
alias pacman="sudo pacman"
|
||||||
alias py="python"
|
alias py="python"
|
||||||
alias py2="python2"
|
alias py2="python2"
|
||||||
|
Loading…
Reference in New Issue
Block a user