diff options
Diffstat (limited to '.config/shell/.zshrc')
| -rw-r--r-- | .config/shell/.zshrc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.config/shell/.zshrc b/.config/shell/.zshrc index 24871e8..ad21fef 100644 --- a/.config/shell/.zshrc +++ b/.config/shell/.zshrc @@ -18,20 +18,24 @@ SAVEHIST=9999999 # personal aliases alias c="cal" alias d="disown" - alias echo="command echo" + alias dots="cd ~/.local/share/.dotfiles/" + alias echo="$(command which echo)" alias egrep='grep -E' alias fgrep='grep -F' alias grep='grep --colour=auto' alias ls="ls --group-directories-first -h -p --color -F" alias neofetch="alsi" alias p="paru" - alias printf="command printf" + alias printf="$(command which printf)" alias pu="paru -Syu --noconfirm" alias s="cd ~/.local/bin && ls" alias t="timedatectl" alias w="curl wttr.in" alias x="startx" + # conditionally alias cat to bat -p if bat is installed + command which bat >/dev/null 2>&1 && alias cat="bat -p" + # youtube-dl aliases alias yt-mp4="youtube-dl -cif 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best'" alias yt-webm="youtube-dl -cif 'bestvideo[ext=webm]+bestaudio[ext=webm]/best[ext=webm]/best'" |
