From fc40d816f91fb1e0bf158823dfc4e66d9012f17c Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Tue, 13 Sep 2022 11:53:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BD=D0=B0=20=D0=BB?= =?UTF-8?q?=D0=B8=D1=88=D0=BD=D1=8F=D1=8F=20=D0=BF=D0=B5=D1=87=D0=B0=D1=82?= =?UTF-8?q?=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 75-aliases.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/75-aliases.zsh b/75-aliases.zsh index 7c08df6..bf3826f 100644 --- a/75-aliases.zsh +++ b/75-aliases.zsh @@ -27,14 +27,14 @@ aptf() { } # Youtube -if command -v youtube-dl; then +if command -v youtube-dl > /dev/null 2>&1; then alias ydlbest="youtube-dl --merge-output-format mkv -f 'bestvideo+bestaudio'" alias ydlaudio="youtube-dl -f bestaudio" alias ydl="youtube-dl --merge-output-format mkv" fi # feh -command -v feg && alias feh="feh --cache-size 256 --version-sort --sort filename --image-bg black" +command -v feg > /dev/null 2>&1 && alias feh="feh --cache-size 256 --version-sort --sort filename --image-bg black" # git alias gpa="git remote | xargs -L1 git push --all" @@ -42,7 +42,7 @@ alias gu="git pull" alias gur="git pull --recurse-submodules" alias gsui="git submodule update --recursive --init" alias gsur="git submodule update --recursive --init --remote" -command -v lazygit && alias lg=lazygit +command -v lazygit > /dev/null 2>&1 && alias lg=lazygit # Фильтры (H,T,G,L определены в common-aliases) alias -g NN='&>/dev/null'