Hoi
This commit is contained in:
parent
d3849148cb
commit
78bbd1b44d
5 changed files with 17 additions and 207 deletions
|
@ -20,7 +20,13 @@ then
|
|||
grep -o '^[^#]*' ~/.config/inputrc > "${WORK}/.inputrc"
|
||||
grep -o '^[^"]*' ~/.config/vim/vimconfig.vim > "${WORK}/.vimrc"
|
||||
mkdir -p "${WORK}/terminfo/${TERM:0:1}"
|
||||
cp ~/".config/terminfo/${TERM:0:1}/${TERM}" "${WORK}/terminfo/${TERM:0:1}/${TERM}"
|
||||
if [ -f "/usr/share/terminfo/${TERM:0:1}/${TERM}" ]
|
||||
then
|
||||
cp "/usr/share/terminfo/${TERM:0:1}/${TERM}" "${WORK}/terminfo/${TERM:0:1}/${TERM}"
|
||||
elif [ -f "$HOME/.config/terminfo/${TERM:0:1}/${TERM}" ]
|
||||
then
|
||||
cp "$HOME/.config/terminfo/${TERM:0:1}/${TERM}" "${WORK}/terminfo/${TERM:0:1}/${TERM}"
|
||||
fi
|
||||
|
||||
# Extra configuration
|
||||
echo "alias s='sudo -s -E bash --rcfile ${DEST}/.bashrc'" >> "${WORK}/.bashrc"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue