Merge pull request #6 from qwjyh/wsl-ubuntu
Merge manjaro & wsl-ubuntu(2): wsl-ubuntu
This commit is contained in:
commit
fbde5aa623
2 changed files with 19 additions and 3 deletions
1
bin/install.sh
Normal file
1
bin/install.sh
Normal file
|
@ -0,0 +1 @@
|
|||
ln -s (pwd)/dotfiles/fish/config.fish ~/.config/fish/config.fish
|
|
@ -1,9 +1,24 @@
|
|||
# load .bashrc
|
||||
# bass source ~/.bashrc
|
||||
|
||||
if status is-interactive
|
||||
# Commands to run in interactive sessions can go here
|
||||
# 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
|
||||
|
||||
|
||||
# opam configuration
|
||||
source /home/qwjyh/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true
|
||||
# key bindings
|
||||
bind \b backward-kill-word
|
Loading…
Reference in a new issue