Work on zsh config

This commit is contained in:
Jonathan Hodgson 2017-07-11 17:20:15 +01:00
parent 8fb651b26c
commit 44c1854984
3 changed files with 41 additions and 9 deletions

View file

@ -19,7 +19,7 @@ function old() {
function cdlc() {
cd "$@"
/home/jonathan/.gem/ruby/2.4.0/bin/colorls | tail -n +2
/home/jonathan/.gem/ruby/2.4.0/bin/colorls -sd | tail -n +2
}
alias cd="cdlc"
@ -100,5 +100,5 @@ searchcss() {
grep -r -i -n --color="always" --include=\*.{css,less,scss,sass} --exclude=\*.min.css "$1" .
}
searchphp() {
grep -r -i -n --color="always" --include="*.php" "$1" .
grep -r -i -n --color="always" --include=\*.{php,phtml} "$1" .
}