mirror of
https://codeberg.org/qwjyh/dotfiles.git
synced 2025-06-27 03:39:20 +09:00
Merge branch & update config.fish
- merge branch 'linux' of github.com:qwjyh/dotfiles into wsl-ubuntu - fix keychain
This commit is contained in:
commit
3d90157720
4 changed files with 220 additions and 17 deletions
|
@ -1,23 +1,23 @@
|
|||
# load .bashrc
|
||||
bass source ~/.bashrc
|
||||
# bass source ~/.bashrc
|
||||
|
||||
# ssh-agent
|
||||
if status --is-interactive
|
||||
set -x SHELL fish
|
||||
keychain --eval --quiet -Q id_rsa, id_ed25519 | source
|
||||
set -x SHELL bash
|
||||
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
|
||||
end
|
||||
|
||||
# opam configuration
|
||||
#source /home/urata/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true
|
||||
# deleted
|
||||
# opam
|
||||
# source ~/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true
|
||||
|
||||
# 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"
|
||||
bind \b backward-kill-word
|
Loading…
Add table
Add a link
Reference in a new issue