Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juhp/haskal
a unix shell written in haskell
https://github.com/juhp/haskal
Last synced: 17 days ago
JSON representation
a unix shell written in haskell
- Host: GitHub
- URL: https://github.com/juhp/haskal
- Owner: juhp
- License: gpl-2.0
- Created: 2011-08-16T07:21:17.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2009-02-06T23:32:52.000Z (almost 16 years ago)
- Last Synced: 2024-10-31T14:06:09.249Z (2 months ago)
- Language: Haskell
- Homepage:
- Size: 97.7 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
README
haskal is the haskell shell.
here is a basic configuration file for
the shell:{-# LANGUAGE NoMonomorphismRestriction #-}
module Config (config) where
import Haskal.ConfigAPI as API
import Text.PrettyPrint.HughesPJ as PP
config :: Config
config = defaultConfig
{ prompt = mkPrompt [ user, at, host, API.colon
, currentDir, API.rangle, s' ]
, dir = "~/.haskal"
, verbose = False
} where s' = return $ PP.text " "Put this in ~/.haskal/Config.hs and run `haskal'.
see src/Haskal/ConfigAPI.hs for available features. the
file src/config_stub includes the basic stub that is
included in every configuration and it shows the imports
given to you.improvements welcome.