2023-04-15 00:45:02 +00:00
|
|
|
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'
|
2023-04-15 02:49:20 +00:00
|
|
|
alias neofetch='neofetch --kitty /mnt/Data/Personalize/Wallpapers --crop_mode fill --crop_offset center --xoffset 1 --yoffset 1'
|
2023-04-15 00:45:02 +00:00
|
|
|
alias nfe='neofetch'
|
|
|
|
|
|
|
|
# navigation
|
2023-04-15 02:49:20 +00:00
|
|
|
alias ~='cd ~'
|
2023-04-15 00:45:02 +00:00
|
|
|
alias cd..='cd ..'
|
|
|
|
alias ..='cd ..'
|
|
|
|
alias ...='cd ../..'
|
|
|
|
alias .3='cd ../../..'
|
|
|
|
alias .4='cd ../../../..'
|
|
|
|
alias .5='cd ../../../../..'
|
|
|
|
|
2023-04-15 02:49:20 +00:00
|
|
|
# Show the current path with (jpwd)
|
|
|
|
alias .='jpwd'
|
|
|
|
|
|
|
|
# Edit something
|
|
|
|
alias e="$EDITOR"
|
|
|
|
|
2023-04-15 03:04:44 +00:00
|
|
|
# Read the file
|
2023-04-15 02:49:20 +00:00
|
|
|
alias r='bat'
|
2023-04-15 00:45:02 +00:00
|
|
|
|
2023-04-15 03:04:44 +00:00
|
|
|
# Git
|
|
|
|
alias gp='git push'
|
|
|
|
alias commit='git commit -S'
|
|
|
|
alias clone='git clone'
|
|
|
|
|
2023-04-15 00:45:02 +00:00
|
|
|
# Colorize grep output (good for log files)
|
|
|
|
alias grep='grep --color=auto'
|
|
|
|
alias egrep='egrep --color=auto'
|
|
|
|
alias fgrep='fgrep --color=auto'
|
|
|
|
|
|
|
|
|
|
|
|
# confirm before overwriting something
|
|
|
|
alias cp="cp -i"
|
|
|
|
alias mv='mv -i'
|
|
|
|
# alias rm='rm -i'
|
|
|
|
|
|
|
|
# Update
|
|
|
|
alias fuck-my-lap='sudo pacman -Syyu'
|
|
|
|
|