diff --git a/.subbash/aliases b/.subbash/aliases index 08a0e06..e1af165 100644 --- a/.subbash/aliases +++ b/.subbash/aliases @@ -17,7 +17,7 @@ alias l.='ls -AF --ignore="*"' alias ll='ls -lhF' alias la='ls -AF' -alias lt='du -sh * | sort -h | tac' +alias lt='du -sh . && du -sh * .* 2>/dev/null | sort -h | tac' alias rm='rm -r' alias mkdir='mkdir -pv' diff --git a/.subzsh/options b/.subzsh/options index 0b4dd80..1ab3987 100644 --- a/.subzsh/options +++ b/.subzsh/options @@ -7,6 +7,7 @@ setopt nonomatch # hide error message if there is no match for the pat setopt notify # report the status of background jobs immediately setopt numericglobsort # sort filenames numerically when it makes sense setopt promptsubst # enable command substitution in prompt +setopt histignorespace # Don't save commands that start with space WORDCHARS=${WORDCHARS//\/} # Don't consider certain characters part of the word @@ -25,3 +26,5 @@ bindkey '^[[6~' end-of-buffer-or-history # page down bindkey '^[[H' beginning-of-line # home bindkey '^[[F' end-of-line # end bindkey '^[[Z' undo # shift + tab undo last action + + diff --git a/.subzsh/plugins b/.subzsh/plugins new file mode 100644 index 0000000..a8f78bd --- /dev/null +++ b/.subzsh/plugins @@ -0,0 +1,7 @@ +so () { + [ -f "$1" ] && source "$1" +} + + +so /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +so /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh diff --git a/.subzsh/sourcer b/.subzsh/sourcer index 2f0efb6..e05b849 100644 --- a/.subzsh/sourcer +++ b/.subzsh/sourcer @@ -8,6 +8,7 @@ so "$HOME"/.subzsh/completion so "$HOME"/.subzsh/history so "$HOME"/.subzsh/prompt so "$HOME"/.subzsh/other +so "$HOME"/.subzsh/plugins so "$HOME"/.subbash/aliases so "$HOME"/.subbash/export