Minor edits

This commit is contained in:
Ilan Cosman 2020-05-16 21:50:36 -07:00
parent 1c286fc473
commit a028be08b2
2 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@ function _lean_pwd
echo -n $splitPwd[-1]
set_color $fish_color_normal
end
echo -n ' '
end

View File

@ -11,7 +11,7 @@ function lean_install
git clone -q --depth=1 https://github.com/IlanCosman/lean.git $tempDir
# Remove all files/dirs except functions and lean_theme
set -l keepFiles "$tempDir/"{'functions', 'lean_theme'}
set -l keepFiles "$tempDir/"{'conf.d', 'functions', 'lean_theme'}
for file in $tempDir/*
if not contains $file $keepFiles
rm -rf $file