new: config.fish & ln script

This commit is contained in:
qwjyh 2022-10-03 03:27:48 +09:00
parent ebc86497f6
commit 3844a9a533
2 changed files with 24 additions and 0 deletions

1
bin/install.sh Normal file
View file

@ -0,0 +1 @@
ln -s (pwd)/dotfiles/fish/config.fish ~/.config/fish/config.fish

23
dotfiles/fish/config.fish Normal file
View file

@ -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"