about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-02-06T22·20+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-02-07T11·01+0000
commit185fa0dda551946420e42a175d75afd28e4b8356 (patch)
tree40a638349248365f80efbdcde3e23c95ed84aeec /configs
parent0009ba2d71dbf80f95495af5f8498f6dbba866ce (diff)
Escape sub-shell in config.fish to prevent evaluation
`stack path --local-doc-root` gets evaluated when I create a shell, which is not
what I intended.
Diffstat (limited to 'configs')
-rw-r--r--configs/shared/.config/fish/config.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/shared/.config/fish/config.fish b/configs/shared/.config/fish/config.fish
index 522aa6845194..82da7609b401 100644
--- a/configs/shared/.config/fish/config.fish
+++ b/configs/shared/.config/fish/config.fish
@@ -239,7 +239,7 @@ abbr --add sb stack build
 abbr --add se stack exec --
 abbr --add sc stack clean
 abbr --add st stack test
-abbr --add haddocks open (stack path --local-doc-root)/index.html
+abbr --add haddocks 'open (stack path --local-doc-root)/index.html'
 
 # Kubernetes
 abbr --add kc kubectl