From 3844a9a533cf20ae193c6028e7d17c6822ece4a6 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Mon, 3 Oct 2022 03:27:48 +0900 Subject: [PATCH] new: config.fish & ln script --- bin/install.sh | 1 + dotfiles/fish/config.fish | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 bin/install.sh create mode 100644 dotfiles/fish/config.fish diff --git a/bin/install.sh b/bin/install.sh new file mode 100644 index 0000000..cabc0ff --- /dev/null +++ b/bin/install.sh @@ -0,0 +1 @@ +ln -s (pwd)/dotfiles/fish/config.fish ~/.config/fish/config.fish diff --git a/dotfiles/fish/config.fish b/dotfiles/fish/config.fish new file mode 100644 index 0000000..8347384 --- /dev/null +++ b/dotfiles/fish/config.fish @@ -0,0 +1,23 @@ +# load .bashrc +bass source ~/.bashrc + +# ssh-agent +if not keychain + source $HOME/.keychain/DESKTOP-6DPNBNH-fish + ssh-add ~/.ssh/id_rsa_eccs + ssh-add ~/.ssh/id_ed25519 +end + +# opam configuration +#source /home/urata/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true +# deleted + +# key bindings +bind \b backward-kill-word + +# starship +starship init fish | source +#function set_win_title +# echo -ne "\033]0; (basename "$PWD") \007" +#end +#set tarship_precmd_uesr_func "set_win_title"