Merge pull request #762 from Brettm12345/develop
DONE: Added configuration for editing fish shell files https://fishshell.com/
This commit is contained in:
commit
a4c14108c7
3 changed files with 10 additions and 1 deletions
|
@ -115,7 +115,7 @@
|
||||||
;ruby ; 1.step do {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
;ruby ; 1.step do {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
||||||
;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||||
;scala ; java, but good
|
;scala ; java, but good
|
||||||
sh ; she sells (ba|z)sh shells on the C xor
|
(sh +fish) ; she sells (ba|z)sh shells on the C xor
|
||||||
;solidity ; do you need a blockchain? No.
|
;solidity ; do you need a blockchain? No.
|
||||||
;swift ; who asked for emoji variables?
|
;swift ; who asked for emoji variables?
|
||||||
;web ; the tubes
|
;web ; the tubes
|
||||||
|
|
|
@ -62,3 +62,9 @@
|
||||||
(set-company-backend! 'sh-mode '(company-shell company-files))
|
(set-company-backend! 'sh-mode '(company-shell company-files))
|
||||||
(setq company-shell-delete-duplicates t))
|
(setq company-shell-delete-duplicates t))
|
||||||
|
|
||||||
|
(def-package! fish-mode
|
||||||
|
:when (featurep! +fish)
|
||||||
|
:defer t
|
||||||
|
:config
|
||||||
|
(add-hook! fish-mode
|
||||||
|
(add-hook 'before-save-hook #'fish_indent-before-save)))
|
||||||
|
|
|
@ -6,3 +6,6 @@
|
||||||
|
|
||||||
(when (featurep! :completion company)
|
(when (featurep! :completion company)
|
||||||
(package! company-shell))
|
(package! company-shell))
|
||||||
|
|
||||||
|
(when (featurep! +fish)
|
||||||
|
(package! fish-mode))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue