diff --git a/.config/shell/aliases.sh b/.config/shell/aliases.sh index 534f54e..0455f40 100644 --- a/.config/shell/aliases.sh +++ b/.config/shell/aliases.sh @@ -1,14 +1,12 @@ -alias clear='clear && ufetch' -alias cls='/usr/bin/clear' alias lsc='/usr/bin/ls --color=auto' # Default ls with colors # alias ls='logo-ls -Dh' # Modern ls https://github.com/Yash-Handa/logo-ls alias jls='jls -lh' alias ls='jls' -alias cmus='cmus-rpc-rs --link &>/dev/null & /bin/cmus' -alias neofetch='neofetch --kitty /mnt/Data/Personalize/Wallpapers/anime --crop_mode fill --crop_offset center --xoffset 1 --yoffset 1' +alias neofetch='neofetch --kitty /mnt/Data/Personalize/Wallpapers --crop_mode fill --crop_offset center --xoffset 1 --yoffset 1' alias nfe='neofetch' # navigation +alias ~='cd ~' alias cd..='cd ..' alias ..='cd ..' alias ...='cd ../..' @@ -16,6 +14,13 @@ alias .3='cd ../../..' alias .4='cd ../../../..' alias .5='cd ../../../../..' +# Show the current path with (jpwd) +alias .='jpwd' + +# Edit something +alias e="$EDITOR" + +alias r='bat' # Colorize grep output (good for log files) alias grep='grep --color=auto'