mirror of
https://github.com/tiyn/dotfiles.git
synced 2026-05-07 21:11:35 +02:00
Zsh: Added widgets for mkcd and improved uv init
This commit is contained in:
12
.profile
12
.profile
@@ -72,18 +72,6 @@ export VIPER_CARBON=""
|
||||
export VIPER_Z3="/bin/z3"
|
||||
export VIPER_BOOGIE="$HOME/.dotnet/tools/boogie"
|
||||
|
||||
# python
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
|
||||
if [ -d "$PYENV_ROOT" ] && [ -x "PYENV_ROOT/bin/pyenv" ]; then
|
||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
if command -v timeout >/DEV/NULL 2>&1; then
|
||||
timeout 2s -c sh -c 'eval "$($PYENV_ROOT/bin/pyenv init --path)"' 2>/dev/null
|
||||
else
|
||||
eval "$($PYENV_ROOT/bin/pyenv init --path 2>/dev/null)" || true
|
||||
fi
|
||||
fi
|
||||
|
||||
# less/man colors
|
||||
export LESS=-R
|
||||
export LESS_TERMCAP_mb="$(printf '%b' '[1;31m')"; a="${a%_}"
|
||||
|
||||
Reference in New Issue
Block a user