config: adjusting fd defaults
This commit is contained in:
parent
d79346de86
commit
4f82c00060
|
@ -12,3 +12,4 @@ node_modules/
|
||||||
build/
|
build/
|
||||||
generated/
|
generated/
|
||||||
out/
|
out/
|
||||||
|
.git/
|
||||||
|
|
|
@ -391,7 +391,7 @@ alias grpc='grep --color=auto --line-number --binary-files=without-match --direc
|
||||||
alias grp='grpc --ignore-case'
|
alias grp='grpc --ignore-case'
|
||||||
# Grep recursively and paginate
|
# Grep recursively and paginate
|
||||||
# TODO remove some prefixes \([^ ]*/\)\?
|
# TODO remove some prefixes \([^ ]*/\)\?
|
||||||
grpr() { grp --color=always --recursive '--exclude=*.sql' $(echo $DIRS_IGNORE | sed 's|-x |--exclude-dir |g') "$@" | less -FX; }
|
grpr() { grp --color=always --recursive '--exclude=*.sql' $(echo $DIRS_IGNORE | sed 's|-x |--exclude-dir |g') "$@" | cut -c-$(expr $COLUMNS \* 3) | less -FX; }
|
||||||
# Grep in shell config files
|
# Grep in shell config files
|
||||||
grsh() {
|
grsh() {
|
||||||
local search=$1
|
local search=$1
|
||||||
|
|
|
@ -67,7 +67,7 @@ and configuration for ~less~ and ~fzf~.
|
||||||
* Package Setup (moving to [[https://github.com/xeruf/instalee][Instalee]])
|
* Package Setup (moving to [[https://github.com/xeruf/instalee][Instalee]])
|
||||||
By Size:
|
By Size:
|
||||||
: LC_ALL=C pacman -Qi | awk '/^Name/{name=$3} /^Installed Size/{print $4$5, name}' | sort -h
|
: LC_ALL=C pacman -Qi | awk '/^Name/{name=$3} /^Installed Size/{print $4$5, name}' | sort -h
|
||||||
Copy list of in stalled packages:
|
Copy list of installed packages:
|
||||||
: pacman -Qe | cut -d\ -f1 | xclip -selection clipboard
|
: pacman -Qe | cut -d\ -f1 | xclip -selection clipboard
|
||||||
|
|
||||||
- dotfiles :: yadm
|
- dotfiles :: yadm
|
||||||
|
|
Loading…
Reference in New Issue