mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-17 12:27:22 +00:00
Make Wezterm default terminal; and use starship prompt
This commit is contained in:
parent
503fb8bff6
commit
39ec755186
17 changed files with 330 additions and 65 deletions
10
sync
10
sync
|
|
@ -27,7 +27,6 @@ function main
|
|||
set_color grey
|
||||
|
||||
sync_desktop_env $uname
|
||||
set_kitty_font_size $uname
|
||||
end
|
||||
|
||||
if test -n "$_flag_g"
|
||||
|
|
@ -67,10 +66,11 @@ function sync_terminal_env
|
|||
and rsync -aP ./.vim ~/
|
||||
and rsync -aP ./.vimrc ~/
|
||||
and rsync -aP ./scripts/ ~/code/scripts/
|
||||
and rsync -aP ./.config/starship.toml ~/.config/
|
||||
end
|
||||
|
||||
function sync_desktop_env -a uname
|
||||
rsync -aP ./.config/kitty ~/.config/
|
||||
rsync -aP ./.wezterm.lua ~/
|
||||
and rsync -aP ./.ideavimrc ~/
|
||||
or return 1
|
||||
|
||||
|
|
@ -87,12 +87,6 @@ function sync_desktop_env -a uname
|
|||
end
|
||||
end
|
||||
|
||||
function set_kitty_font_size -a uname
|
||||
if test "$uname" = Darwin
|
||||
sed -i '' -e 's/font_size 11\.0/font_size 13\.0/' ~/.config/kitty/kitty.conf
|
||||
end
|
||||
end
|
||||
|
||||
function install_fisher_packages
|
||||
eval fisher
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue