commit 3137fab6177d145fb3944f3a2b4df425c0e4e723
parent 2a92456f2119de4d65500baf10ae352d235cb776
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 22 Jun 2020 12:05:36 +0200
shell: autoload some stuff
Former-commit-id: f6faf164907873124ff4e0b4bc03330263dd0f6b
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/shell/zshrc b/shell/zshrc
@@ -49,6 +49,9 @@ source $DOTFILES/shell/oh-my-zsh-defaults/directories.zsh
source $DOTFILES/shell/oh-my-zsh-defaults/history.zsh
source $DOTFILES/shell/oh-my-zsh-defaults/keys.zsh
+# Allow pasting bare URLs
+autoload -Uz url-quote-magic
+zle -N self-insert url-quote-magic
# Auto correct commands, with exceptions (from oh-my-zsh)
alias cp='nocorrect cp'
@@ -62,6 +65,9 @@ alias z='nocorrect z'
setopt correct
setopt correct_all
+# Built-in Tetris (because why not)
+alias tetris="autoload -Uz tetriscurses && tetriscurses"
+
# Import colorscheme from 'wal' asynchronously
# & # Run the process in the background.
# # ( ) # Hide shell job control messages.