Moved lang/fish into lang/sh +fish

This commit is contained in:
Brett Mandler 2018-07-18 15:56:55 -04:00
parent 8bdc0f72b8
commit 8ff5543d3b
No known key found for this signature in database
GPG key ID: 72B1D27CB7D82F0F
5 changed files with 10 additions and 15 deletions

View file

@ -86,7 +86,6 @@
;elm ; care for a cup of TEA? ;elm ; care for a cup of TEA?
emacs-lisp ; drown in parentheses emacs-lisp ; drown in parentheses
;ess ; emacs speaks statistics ;ess ; emacs speaks statistics
;fish ; finally, a decent shell
;go ; the hipster dialect ;go ; the hipster dialect
;(haskell +intero) ; a language that's lazier than I am ;(haskell +intero) ; a language that's lazier than I am
;hy ; readability of scheme w/ speed of python ;hy ; readability of scheme w/ speed of python
@ -116,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

@ -1,9 +0,0 @@
;;; lang/fish/config.el -*- lexical-binding: t; -*-
(def-package! fish-mode
:mode "\\.fish$"
:interpreter "fish"
:config
(add-hook! fish-mode
(add-hook 'before-save-hook #'fish_indent-before-save)))

View file

@ -1,4 +0,0 @@
;; -*- no-byte-compile: t; -*-
;;; lang/fish/packages.el
(package! fish-mode)

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