Remove PAGER and alias nix search
This commit is contained in:
parent
fe13f0095a
commit
78c5fd75c8
1 changed files with 4 additions and 4 deletions
|
@ -125,12 +125,12 @@ if hash fd 2>/dev/null; then
|
||||||
alias fdfind='fd'
|
alias fdfind='fd'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v most > /dev/null 2>&1; then
|
|
||||||
export PAGER="most"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if hash nix-env 2>/dev/null; then
|
if hash nix-env 2>/dev/null; then
|
||||||
alias nix-update='nix-channel --update && nix-env -u'
|
alias nix-update='nix-channel --update && nix-env -u'
|
||||||
|
|
||||||
|
nix-search() {
|
||||||
|
nix-env -qa --description ".*$1.*"
|
||||||
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
alias cdd='cd {{ .deploydir }}'
|
alias cdd='cd {{ .deploydir }}'
|
||||||
|
|
Loading…
Add table
Reference in a new issue