Merge pull request #762 from Brettm12345/develop

DONE: Added configuration for editing fish shell files https://fishshell.com/
This commit is contained in:
Henrik Lissner 2018-07-19 02:01:42 +02:00 committed by GitHub
commit a4c14108c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 1 deletions

View file

@ -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

View file

@ -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)))

View file

@ -6,3 +6,6 @@
(when (featurep! :completion company) (when (featurep! :completion company)
(package! company-shell)) (package! company-shell))
(when (featurep! +fish)
(package! fish-mode))