added a searchpkgs function
This commit is contained in:
parent
8b51cf2ed8
commit
b1d847c13c
@ -12,4 +12,11 @@ fi
|
||||
|
||||
# Use local npm prefix
|
||||
export NPM_CONFIG_PREFIX=~/.npm_prefix
|
||||
export EDITOR=vim
|
||||
export VISUAL=vim
|
||||
export PATH=$PATH:$NPM_CONFIG_PREFIX/bin
|
||||
|
||||
|
||||
searchpkg () {
|
||||
nix-env -qaP '*' --description | grep $1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user