1
0
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:
Arti Zirk 2020-04-27 10:16:35 +03:00
parent 8af0dec58a
commit 575d2d934b

2
.zshrc
View File

@ -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"