From 05147b5aeaf8c385d8dfbf4ddd47a8f9cd4441ab Mon Sep 17 00:00:00 2001 From: qwjyh Date: Wed, 12 Oct 2022 08:45:23 +0900 Subject: [PATCH] update fish config & init.lua --- dotfiles/fish/config.fish | 37 +++++++++++++++++++++---------------- dotfiles/neovim/init.lua | 1 + 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/dotfiles/fish/config.fish b/dotfiles/fish/config.fish index 09b6f19..b93a205 100644 --- a/dotfiles/fish/config.fish +++ b/dotfiles/fish/config.fish @@ -2,23 +2,28 @@ # bass source ~/.bashrc if status is-interactive - # starship - starship init fish | source - - function set_win_title - echo -ne "\033]0; (basename "$PWD") \007" - end - set starship_precmd_uesr_func "set_win_title" - - # keychain - set -x SHELL fish - keychain --eval --quiet -Q id_rsa, id_ed25519 | source - set -x SHELL bash - - # opam - # source ~/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true end +# starship +starship init fish | source + +function set_win_title + echo -ne "\033]0; (basename "$PWD") \007" +end +set starship_precmd_uesr_func "set_win_title" + +# keychain +set -x SHELL fish +keychain --eval --quiet -Q id_rsa, id_ed25519 | source +set -x SHELL bash + +# opam +# source ~/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true +opam env --shell fish | source # key bindings -bind \b backward-kill-word \ No newline at end of file +bind \b backward-kill-word + + +# env +set -x LESS '-i -r -M -R -S -W -z-4 -x4' diff --git a/dotfiles/neovim/init.lua b/dotfiles/neovim/init.lua index d7bdd8e..4819b76 100644 --- a/dotfiles/neovim/init.lua +++ b/dotfiles/neovim/init.lua @@ -1,3 +1,4 @@ +--print("init.lua loaded") ----------------------------------------------------------- -- basic configurations vim.o.number = true