feat(revamp): add zsh and neovim configs, add an install script and a dependencies list
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#
|
||||
# Enables local Haskell package installation.
|
||||
#
|
||||
# Authors:
|
||||
# Sebastian Wiesner <lunaryorn@googlemail.com>
|
||||
#
|
||||
|
||||
# Return if requirements are not found.
|
||||
if (( ! $+commands[ghc] )); then
|
||||
return 1
|
||||
fi
|
||||
|
||||
# Load dependencies.
|
||||
pmodload 'helper'
|
||||
|
||||
# Prepend Cabal per user directories to PATH.
|
||||
if is-darwin && [[ -d $HOME/Library/Haskell ]]; then
|
||||
path=($HOME/Library/Haskell/bin(/N) $path)
|
||||
else
|
||||
path=($HOME/.cabal/bin(/N) $path)
|
||||
fi
|
||||
Reference in New Issue
Block a user