diff --git a/common/.zshrc b/common/.zshrc index fba44d2..a8ea1d5 100644 --- a/common/.zshrc +++ b/common/.zshrc @@ -51,6 +51,9 @@ if [[ ! -f "$HOME/.zsh/z.sh" ]]; then fi . "$HOME/.zsh/z.sh" +autoload -Uz url-quote-magic +zle -N self-insert url-quote-magic + # Lines configured by zsh-newuser-install HISTFILE=~/.zsh_history HISTSIZE=10000 @@ -207,9 +210,21 @@ alias mv='mv -i' alias cls='clear' alias del='rm' +if [[ -x "$(command -v eza)" ]]; then + alias ls='eza' +fi +alias ll='ls -lah' +alias la='ls -a' + #### # functions +command_not_found_handler() { + echo "'$1' is not recognized as an internal or external command," + echo "operable program or batch file." + return 127 +} + extract () { if [ -f $1 ] ; then case $1 in