Changes for some items.
- emacs config for fonts wasn't working without custom, for some reason.
This commit is contained in:
parent
7ced498c15
commit
23f4721ece
5 changed files with 92 additions and 75 deletions
29
zshrc
29
zshrc
|
|
@ -1,3 +1,10 @@
|
|||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||
# Initialization code that may require console input (password prompts, [y/n]
|
||||
# confirmations, etc.) must go above this block; everything else may go below.
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
[[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return
|
||||
|
||||
echo "Loading zgen..."
|
||||
|
|
@ -19,11 +26,14 @@ if [[ ${TERM} == st* ]]; then
|
|||
export TERM=xterm-256color
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ${TERM} == foot ]]; then
|
||||
export TERM=xterm-256color
|
||||
fi
|
||||
|
||||
unsetopt beep
|
||||
bindkey -e
|
||||
export LESS="-X -R -F"
|
||||
alias http='python -m http.server'
|
||||
|
||||
export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
export PAGER=most
|
||||
export EDITOR=mg
|
||||
|
|
@ -64,12 +74,9 @@ fi
|
|||
if [[ ${TERM} == linux ]]; then
|
||||
prompt pure
|
||||
else
|
||||
# . ~/bin/powerlevel_vars
|
||||
prompt powerlevel10k
|
||||
fi
|
||||
|
||||
#alias t=todo.sh
|
||||
|
||||
unalias rm
|
||||
unalias mv
|
||||
unalias cp
|
||||
|
|
@ -79,4 +86,16 @@ unalias cp
|
|||
setopt NO_SHARE_HISTORY
|
||||
setopt HIST_EXPIRE_DUPS_FIRST
|
||||
|
||||
cyan pyenv
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
if command -v pyenv 1>/dev/null 2>&1; then
|
||||
eval "$(pyenv init -)"
|
||||
fi
|
||||
|
||||
|
||||
yellow All Done!
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue