mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Disable {bash,fish}-completion on Windows
Because neither is available on windows, you'll get errors when trying to complete in eshell. Better to disable it so eshell can fall back to pcomplete.
This commit is contained in:
@ -180,6 +180,7 @@ You should use `set-eshell-alias!' to change this.")
|
|||||||
|
|
||||||
|
|
||||||
(use-package! fish-completion
|
(use-package! fish-completion
|
||||||
|
:unless IS-WINDOWS
|
||||||
:hook (eshell-mode . fish-completion-mode)
|
:hook (eshell-mode . fish-completion-mode)
|
||||||
:init (setq fish-completion-fallback-on-bash-p t)
|
:init (setq fish-completion-fallback-on-bash-p t)
|
||||||
:config
|
:config
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
(package! esh-help :pin "417673ed18a983930a66a6692dbfb288a995cb80")
|
(package! esh-help :pin "417673ed18a983930a66a6692dbfb288a995cb80")
|
||||||
(package! eshell-did-you-mean :pin "7cb6ef8e2274d0a50a9e114d412307a6543533d5")
|
(package! eshell-did-you-mean :pin "7cb6ef8e2274d0a50a9e114d412307a6543533d5")
|
||||||
|
|
||||||
(when (featurep! :completion company)
|
(unless IS-WINDOWS
|
||||||
(package! fish-completion :pin "10384881817b5ae38cf6197a077a663420090d2c")
|
(when (featurep! :completion company)
|
||||||
(package! bash-completion :pin "96ce14af9674f3e605bacca87abc0c23b8f13cd5"))
|
(package! fish-completion :pin "10384881817b5ae38cf6197a077a663420090d2c")
|
||||||
|
(package! bash-completion :pin "96ce14af9674f3e605bacca87abc0c23b8f13cd5")))
|
||||||
|
Reference in New Issue
Block a user