summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/zsh/.zshrc6
-rw-r--r--.config/zsh/alias.zsh1
2 files changed, 4 insertions, 3 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index a70c794..a23bc14 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -66,13 +66,13 @@ globalias() {
zle _expand_alias
zle expand-word
fi
- zle self-insert
+ # zle self-insert
}
zle -N globalias
-bindkey -v " " globalias
-bindkey -v "^ " magic-space
+bindkey -v "^ " globalias
+bindkey -v " " magic-space
bindkey -M isearch " " magic-space
PROMPT="%B%{$fg[red]%}%M %{$fg[blue]%}%c%{$fg[red]%}%%%{$reset_color%} "
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh
index fb85c42..b3374a6 100644
--- a/.config/zsh/alias.zsh
+++ b/.config/zsh/alias.zsh
@@ -113,3 +113,4 @@ alias svn='svn --config-dir $XDG_CONFIG_HOME/subversion'
alias gpg2='gpg2 --homedir $XDG_DATA_HOME/gnupg'
alias yarn='yarn --use-yarnrc $XDG_CONFIG_HOME/yarn/config'
alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
+alias rsync='rsync -v -h'