update fish config & init.lua

This commit is contained in:
qwjyh 2022-10-12 08:45:23 +09:00
parent 48f76c8991
commit 05147b5aea
2 changed files with 22 additions and 16 deletions

View file

@ -2,23 +2,28 @@
# bass source ~/.bashrc # bass source ~/.bashrc
if status is-interactive 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 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 # key bindings
bind \b backward-kill-word bind \b backward-kill-word
# env
set -x LESS '-i -r -M -R -S -W -z-4 -x4'

View file

@ -1,3 +1,4 @@
--print("init.lua loaded")
----------------------------------------------------------- -----------------------------------------------------------
-- basic configurations -- basic configurations
vim.o.number = true vim.o.number = true