From fa94be3476603922498e8a112a415675da2e55ab Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Fri, 19 Mar 2021 22:01:14 +0300 Subject: [PATCH] elvish: add to deploy script --- deploy.sh | 1 + home/.elvish/rc.elv | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 9018211..8869c4a 100755 --- a/deploy.sh +++ b/deploy.sh @@ -90,6 +90,7 @@ cp -rfv ./home/.local/bin/ ~/.local/bin/ # The bloated dotfiles itself cp -rfv ./home/.mbsyncrc ~/.mbsyncrc cp -rfv ./home/.rtorrent.rc ~/.rtorrent.rc +# cp -rfv ./home/.elvish/ ~/.elvish/ cp -rfv ./home/.config/alacritty/ ~/.config/alacritty/ cp -rfv ./home/.config/amfora/ ~/.config/amfora/ cp -rfv ./home/.config/anime-downloader/ ~/.config/anime-downloader/ diff --git a/home/.elvish/rc.elv b/home/.elvish/rc.elv index 00d97ab..080854c 100644 --- a/home/.elvish/rc.elv +++ b/home/.elvish/rc.elv @@ -12,7 +12,9 @@ use math use readline-binding # Prompt -eval (starship init elvish) +if ?(command -v starship >/dev/null) { + eval (starship init elvish) +} # Case-insensitive completion edit:completion:matcher[''] = [p]{ edit:match-prefix &ignore-case $p }