aboutsummaryrefslogtreecommitdiff
path: root/.config/shell/.zshrc
diff options
context:
space:
mode:
authorkj-sh6042025-01-30 08:46:21 -0500
committerkj-sh6042025-01-30 08:46:21 -0500
commitd3013822c88d97a657997ca546a4b3a175f11d47 (patch)
tree451a0aea88f4b91c9a52c66e5c34b51136e873ef /.config/shell/.zshrc
parent88e73a08912d776a15a9665174d6b588858e4f8f (diff)
refactor: update aliases and abbrs
Diffstat (limited to '.config/shell/.zshrc')
-rw-r--r--.config/shell/.zshrc10
1 files changed, 5 insertions, 5 deletions
diff --git a/.config/shell/.zshrc b/.config/shell/.zshrc
index 9905316..db12b29 100644
--- a/.config/shell/.zshrc
+++ b/.config/shell/.zshrc
@@ -26,6 +26,10 @@ HISTSIZE=9999999
SAVEHIST=9999999
# aliases
+ # conditionally alias alternative applications if installed
+ command which bat >/dev/null 2>&1 && alias cat="bat -p"
+ command which eza >/dev/null 2>&1 && alias ls="eza"
+
# personal aliases
# alias echo=(command which echo)
# alias printf=(command which printf)
@@ -35,10 +39,9 @@ SAVEHIST=9999999
alias dots="cd ~/.local/share/.dotfiles/"
alias egrep='grep -E'
alias fgrep='grep -F'
- alias grep='grep --colour=auto'
+ alias grep='grep --color=auto'
alias ks="killall screen"
alias lgit="lazygit"
- alias ls="ls --group-directories-first -h -p --color -F"
alias neofetch="alsi"
alias p="paru"
alias pu="paru -Syu --noconfirm"
@@ -50,9 +53,6 @@ SAVEHIST=9999999
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-best="youtube-dl -cif 'bestvideo+bestaudio/best'"
alias yt-m4a="youtube-dl -cif 'bestaudio[ext=m4a]'"