Merge pull request #6 from qwjyh/wsl-ubuntu

Merge manjaro & wsl-ubuntu(2): wsl-ubuntu
This commit is contained in:
qwjyh 2022-10-06 23:34:55 +09:00 committed by GitHub
commit fbde5aa623
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 3 deletions

1
bin/install.sh Normal file
View file

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

View file

@ -1,9 +1,24 @@
# load .bashrc
# bass source ~/.bashrc
if status is-interactive if status is-interactive
# Commands to run in interactive sessions can go here
# starship # starship
starship init fish | source 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
# opam configuration # key bindings
source /home/qwjyh/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true bind \b backward-kill-word