pull/317/head
parent
13b501adaf
commit
ae433e9de2
@ -0,0 +1,25 @@
|
||||
Fink
|
||||
========
|
||||
|
||||
Defines Fnik aliases and adds Fink directories to path variables.
|
||||
|
||||
Aliases
|
||||
-------
|
||||
|
||||
- `finki` installs a fink package.
|
||||
- `finks` searches for a fink package.
|
||||
- `finku` updates all packages.
|
||||
- `finkU` performs a selfupdate.
|
||||
- `finkx` uninstalls a fink package.
|
||||
|
||||
Authors
|
||||
-------
|
||||
|
||||
*The authors of this module should be contacted via the [issue tracker][1].*
|
||||
|
||||
- [Jeff Cox](https://github.com/jeffcox)
|
||||
- [Matt Cable](https://github.com/curiousstranger)
|
||||
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
||||
|
||||
[1]: https://github.com/sorin-ionescu/prezto/issues
|
||||
|
@ -0,0 +1,46 @@
|
||||
#
|
||||
# Defines Fnik aliases and adds Fink directories to path variables.
|
||||
#
|
||||
# Authors:
|
||||
# Jeff Cox
|
||||
# Matt Cable <wozz@wookie.net>
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
# Return if requirements are not found.
|
||||
if [[ "$OSTYPE" != darwin* ]]; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
#
|
||||
# Paths
|
||||
#
|
||||
|
||||
# Set the list of directories that info searches for manuals.
|
||||
infopath=(
|
||||
/sw/share/info
|
||||
$infopath
|
||||
)
|
||||
|
||||
# Set the list of directories that man searches for manuals.
|
||||
manpath=(
|
||||
/sw/share/man
|
||||
$manpath
|
||||
)
|
||||
|
||||
# Set the list of directories that Zsh searches for programs.
|
||||
path=(
|
||||
/sw/{bin,sbin}
|
||||
$path
|
||||
)
|
||||
|
||||
#
|
||||
# Aliases
|
||||
#
|
||||
|
||||
alias finki='fink install'
|
||||
alias finks='fink list'
|
||||
alias finku='fink update-all'
|
||||
alias finkU='fink selfupdate'
|
||||
alias finkx='fink remove'
|
||||
|
Loading…
Reference in new issue