summaryrefslogtreecommitdiff
path: root/.config/zsh/purs.zsh
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-20 13:45:32 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-20 13:45:32 +0100
commitb8741890ec8922426ca393e181df5769cd53a0f9 (patch)
tree2e7767c72436f1ab3a2895ef085e103cee8beaf3 /.config/zsh/purs.zsh
parent325d75531153da1a317e219f2e5da85abbe7ea48 (diff)
refactor zsh
Diffstat (limited to '.config/zsh/purs.zsh')
-rw-r--r--.config/zsh/purs.zsh13
1 files changed, 0 insertions, 13 deletions
diff --git a/.config/zsh/purs.zsh b/.config/zsh/purs.zsh
deleted file mode 100644
index ea2103a..0000000
--- a/.config/zsh/purs.zsh
+++ /dev/null
@@ -1,13 +0,0 @@
-function zle-line-init zle-keymap-select {
- PROMPT=`$HOME/purs/target/release/purs prompt -k "$KEYMAP" -r "$?" --venv "${${VIRTUAL_ENV:t}%-*}"`
- zle reset-prompt
-}
-zle -N zle-line-init
-zle -N zle-keymap-select
-
-autoload -Uz add-zsh-hook
-
-function _prompt_purs_precmd() {
- /$HOME/purs/target/release/purs precmd
-}
-add-zsh-hook precmd _prompt_purs_precmd