about summary refs log tree commit diff
path: root/configs/shared
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2018-07-18T23·53-0400
committerWilliam Carroll <wpcarro@gmail.com>2018-07-19T16·00-0400
commita86c2ddece8fde8a42f1e6031b189d1865b9b211 (patch)
tree77c56fd69f574b697e831fd8c062e7672e342cf2 /configs/shared
parente8ca641075b0acfab44fd424f08ab6fa6f630495 (diff)
Prefer stow over hand-rolled solution
After discovering GNU stow on Nix IRC, refactored install and setup
scripts to consume it.

Code is vastly simplified as a result.
Diffstat (limited to 'configs/shared')
-rw-r--r--configs/shared/ctags/.ctags (renamed from configs/shared/.ctags)0
-rw-r--r--configs/shared/ghci13
-rw-r--r--configs/shared/git/.gitconfig (renamed from configs/shared/.gitconfig)0
-rw-r--r--configs/shared/git/.gitignore (renamed from configs/shared/.gitignore)0
-rw-r--r--configs/shared/haskell/.ghci32
-rw-r--r--configs/shared/zsh/.zshrc (renamed from configs/shared/.zshrc)3
6 files changed, 35 insertions, 13 deletions
diff --git a/configs/shared/.ctags b/configs/shared/ctags/.ctags
index c018567f2041..c018567f2041 100644
--- a/configs/shared/.ctags
+++ b/configs/shared/ctags/.ctags
diff --git a/configs/shared/ghci b/configs/shared/ghci
deleted file mode 100644
index 844a8901010f..000000000000
--- a/configs/shared/ghci
+++ /dev/null
@@ -1,13 +0,0 @@
--- Useful Typeclasses
-import Control.Applicative
-import Data.Monoid
-
--- Data Structures
-import qualified Data.Map.Internal as Map
-
--- Lenses
-import qualified Control.Lens           as Lens 
-import qualified Control.Lens.Traversal as Lens
-
--- Friendly prompt
-:set prompt "\ESC[34mλ> \ESC[m"
diff --git a/configs/shared/.gitconfig b/configs/shared/git/.gitconfig
index e6d0e7b9bc47..e6d0e7b9bc47 100644
--- a/configs/shared/.gitconfig
+++ b/configs/shared/git/.gitconfig
diff --git a/configs/shared/.gitignore b/configs/shared/git/.gitignore
index 0d9002511ec2..0d9002511ec2 100644
--- a/configs/shared/.gitignore
+++ b/configs/shared/git/.gitignore
diff --git a/configs/shared/haskell/.ghci b/configs/shared/haskell/.ghci
new file mode 100644
index 000000000000..995a5cec2b1d
--- /dev/null
+++ b/configs/shared/haskell/.ghci
@@ -0,0 +1,32 @@
+-- Useful Typeclasses
+import Control.Applicative
+import Data.Monoid
+
+-- Data Structures
+import qualified Data.Map.Internal as Map
+
+-- Lenses
+import           Control.Lens
+import qualified Control.Lens           as Lens 
+import qualified Control.Lens.Traversal as Lens
+
+-- Friendly prompt
+:set prompt "\ESC[34mλ> \ESC[m"
+
+-- GHCi on Acid
+:m - Prelude
+:m + GOA
+setLambdabotHome "/Users/wpcarro/Haskell/bin"
+:def bs        lambdabot "botsnack"
+:def pl        lambdabot "pl"
+:def unpl      lambdabot "unpl"
+:def redo      lambdabot "redo"
+:def undo      lambdabot "undo"
+:def index     lambdabot "index"
+:def docs      lambdabot "docs"
+:def instances lambdabot "instances"
+:def hoogle    lambdabot "hoogle"
+:def source    lambdabot "fptools"
+:def where     lambdabot "where"
+:def version   lambdabot "version"
+:def src       lambdabot "src"
diff --git a/configs/shared/.zshrc b/configs/shared/zsh/.zshrc
index f18ef365edbf..49452db76eaa 100644
--- a/configs/shared/.zshrc
+++ b/configs/shared/zsh/.zshrc
@@ -3,6 +3,9 @@ export DOTFILES="${HOME}/dotfiles"
 export ZSH="${HOME}/.oh-my-zsh"
 export PATH="${PATH}:${HOME}/.local/bin"
 
+# Put this here temporarily until we have a better place for it.
+export FPP_EDITOR='emacsclient -n'
+
 ZSH_THEME=refined
 plugins=(zsh-autosuggestions git git-extras github)