From 28496b2171ab5b7cb59248efcefcd90914fcb2f7 Mon Sep 17 00:00:00 2001 From: Tim Susa Date: Sun, 23 Feb 2020 10:53:31 +0100 Subject: [PATCH] New aliases --- aliases | 1 + zshrc | 3 +++ 2 files changed, 4 insertions(+) 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