Skip to content

Commit

Permalink
chore: add fish
Browse files Browse the repository at this point in the history
Signed-off-by: Sébastien Elet <sebastien@elet.fr>
  • Loading branch information
SebastienElet committed Jan 6, 2025
1 parent 7ad291a commit 5b58986
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ terminal: \
broot \
eza \
fd \
fish \
gnu-sed \
htop \
lazygit \
Expand Down Expand Up @@ -61,6 +62,13 @@ fd: brew ${BREW_BIN}/fd
${BREW_BIN}/fd:
brew install fd

fish: brew ${BREW_BIN}/fish ~/.config/fish
${BREW_BIN}/fish:
brew install fish

~/.config/fish:
ln -s ~/.dotfiles/fish $@

gnu-sed: brew ${BREW_GNU_BIN}/gnu-sed
${BREW_GNU_BIN}/gnu-sed:
brew install gnu-sed
Expand Down
2 changes: 2 additions & 0 deletions dict/user.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ mercifacteur
fortawesome
iframe
copro
lazygit
opencommit
1 change: 1 addition & 0 deletions fish/conf.d/editor.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set -Ux EDITOR vim
3 changes: 3 additions & 0 deletions fish/config.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if status is-interactive
# Commands to run in interactive sessions can go here
end
32 changes: 32 additions & 0 deletions fish/fish_variables
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR --export EDITOR:vim
SETUVAR __fish_initialized:3400
SETUVAR fish_color_autosuggestion:brblack
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:blue
SETUVAR fish_color_comment:red
SETUVAR fish_color_cwd:green
SETUVAR fish_color_cwd_root:red
SETUVAR fish_color_end:green
SETUVAR fish_color_error:brred
SETUVAR fish_color_escape:brcyan
SETUVAR fish_color_history_current:\x2d\x2dbold
SETUVAR fish_color_host:normal
SETUVAR fish_color_host_remote:yellow
SETUVAR fish_color_normal:normal
SETUVAR fish_color_operator:brcyan
SETUVAR fish_color_param:cyan
SETUVAR fish_color_quote:yellow
SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_status:red
SETUVAR fish_color_user:brgreen
SETUVAR fish_color_valid_path:\x2d\x2dunderline
SETUVAR fish_key_bindings:fish_default_key_bindings
SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:yellow\x1e\x2di
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr
1 change: 1 addition & 0 deletions nvim/lua/plugins/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ return {
vim.list_extend(opts.ensure_installed, {
"bash",
"css",
"fish",
"graphql",
"html",
"javascript",
Expand Down

0 comments on commit 5b58986

Please sign in to comment.