Update 'init.sh'

This commit is contained in:
Gordon Grant-Stuart 2023-07-29 12:17:03 +00:00
parent e6697be770
commit dc690a6f16

View File

@ -12,8 +12,9 @@ if [[ $(grep -c "$al" ~/.bash_aliases) -eq 0 ]]; then
echo $al >> ~/.bash_aliases
fi
if [[ $(grep -c "msk=1;38;5;95" ~/.bash_aliases) -eq 0 ]]; then
echo 'export LS_COLORS="$LS_COLORS:*.msk=1;38;5;95"' >> ~/.bash_aliases
col='export LS_COLORS="$LS_COLORS:*.msk=1;38;5;95"'
if [[ $(grep -c $col ~/.bash_aliases) -eq 0 ]]; then
echo $col >> ~/.bash_aliases
fi
mv "$SCRIPT_DIR/.Books" "$HOME/.Books"