diff --git a/zsh/functions.zsh b/zsh/functions.zsh index b3cf23a..bbf832c 100644 --- a/zsh/functions.zsh +++ b/zsh/functions.zsh @@ -6,6 +6,8 @@ bytecount() { wc -c "$@" | numfmt --to=iec-i; } mkcd() { mkdir -p "$@" && cd "${@[-1]}"; } +silence() { $1 &>/dev/null } + viscd() { setopt local_options err_return local temp_file chosen_dir