Collection of configuration files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dotfiles/dot_config/zsh/rc.d/90-functions.zsh.tmpl

24 lines
448 B

#!/usr/bin/env zsh
# Functions and widgets
# Smart URLs
# Adds brackets if pasted URLs contain non-Zsh-friendly symbols
if [[ ${TERM} != "dumb" ]]; then
autoload -Uz bracketed-paste-url-magic
zle -N bracketed-paste bracketed-paste-url-magic
fi
# load functions
autoload -Uz \
archive \
cdtmp \
cjd \
docker-prune-all \
gi \
gpg-export-key \
mkdcd \
wttr
{{ if (eq .chezmoi.os "darwin") }}
autoload -Uz unquarantine
{{ end }}