Merge branch 'master' of gitlab.com:severinkaderli/dotfiles
This commit is contained in:
commit
fc523bedad
2 changed files with 6 additions and 9 deletions
13
install
13
install
|
@ -286,14 +286,11 @@ do
|
||||||
ln -fs "${SYSTEM_DIR}/${file}" "${HOME}/${file}"
|
ln -fs "${SYSTEM_DIR}/${file}" "${HOME}/${file}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
for file in "${!LINKED_FILES[@]}"; do
|
||||||
if [ "${IS_WORK}" = "0" ]; then
|
print_log "Linking ${YELLOW}${file}${RESET} to ${YELLOW}${LINKED_FILES[${file}]}${RESET}"
|
||||||
for file in "${!LINKED_FILES[@]}"; do
|
rm -rf "${file}"
|
||||||
print_log "Linking ${YELLOW}${file}${RESET} to ${YELLOW}${LINKED_FILES[${file}]}${RESET}"
|
ln -fs "${LINKED_FILES[${file}]}" "${file}"
|
||||||
rm -rf "${file}"
|
done
|
||||||
ln -fs "${LINKED_FILES[${file}]}" "${file}"
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
|
@ -157,7 +157,7 @@ function precmd() {
|
||||||
# Custom prompt
|
# Custom prompt
|
||||||
NEWLINE=$'\n'
|
NEWLINE=$'\n'
|
||||||
export PS1="┌─"
|
export PS1="┌─"
|
||||||
export PS1="${PS1}%F{red}[%*]%f"
|
export PS1="${PS1}%F{red}[%D{%T}]%f"
|
||||||
export PS1="${PS1}%F{blue}[%m]%f"
|
export PS1="${PS1}%F{blue}[%m]%f"
|
||||||
export PS1="${PS1}%F{yellow}[%~]%f"
|
export PS1="${PS1}%F{yellow}[%~]%f"
|
||||||
export PS1="${PS1}"'${(r:$(prompt_width)::─:)}'
|
export PS1="${PS1}"'${(r:$(prompt_width)::─:)}'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue