[zsh] Added silence function.

This commit is contained in:
Keanu Timmermans 2021-05-10 17:20:40 +02:00
parent 47d365b837
commit 6ebac00f43
Signed by: keanucode
GPG Key ID: A7431C0D513CA93B
1 changed files with 2 additions and 0 deletions

View File

@ -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