diff --git a/aliases b/aliases index 4cbc605..b1d460a 100644 --- a/aliases +++ b/aliases @@ -11,6 +11,7 @@ alias zrc='nano $HOME/.zshrc' alias c='clear' alias h='history' alias top='htop' +alias space='du -a /dir/ | sort -n -r | head -n 20' if [ "$(uname)" = "Darwin" ]; then alias ls='ls -G' diff --git a/zshrc b/zshrc index 1d81c0c..bfabdeb 100644 --- a/zshrc +++ b/zshrc @@ -20,3 +20,6 @@ setopt appendhistory # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh +if command -v pyenv 1>/dev/null 2>&1; then + eval "$(pyenv init -)" +fi