organize the repo
remove unused files create config file update dotfiles update ebuild
This commit is contained in:
parent
1c38428f6b
commit
10345f6e3a
13 changed files with 178 additions and 975 deletions
29
zsh-init
29
zsh-init
|
@ -1,29 +0,0 @@
|
|||
#! /bin/zsh
|
||||
|
||||
OVER_PROMPT_CFG="/etc/over/prompt.cfg"
|
||||
|
||||
if [[ -a "$OVER_PROMPT_CFG" ]]; then
|
||||
source "$OVER_PROMPT_CFG"
|
||||
fi
|
||||
|
||||
function set_title {
|
||||
if [[ ${TERM} == "screen-bce" || ${TERM} == "screen" ]]; then
|
||||
print -Pn "\033k\033${@}\033\134"
|
||||
fi
|
||||
}
|
||||
|
||||
function preexec {
|
||||
local -a cmd
|
||||
cmd=(${(z)1})
|
||||
|
||||
set_title "${PWD}: ${cmd}"
|
||||
}
|
||||
|
||||
function precmd {
|
||||
set_title "${PWD}"
|
||||
python3 ./render.py $? $COLUMNS 1.25 2.5 0.15 0.05
|
||||
PS1="$(print "%(?.%{\e[1;36m%}.%{\e[1;31m%}%?%{\e[0m%}:%{\e[1;31m%})%(\!.#.$)%{\e[0m%} ")"
|
||||
}
|
||||
|
||||
unset OVER_PROMPT_CFG
|
||||
unset RPS1
|
Loading…
Add table
Add a link
Reference in a new issue