mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2024-11-10 00:59:38 +00:00
38 lines
989 B
Text
38 lines
989 B
Text
# General
|
|
alias clear="printf '\033c'" # faster than ncurses clear by a lot
|
|
alias c='clear'
|
|
alias bashrc="${EDITOR:-"nano"} ~/.bashrc && source ~/.bashrc"
|
|
# LS
|
|
alias ls='ls --color=auto -FAh'
|
|
alias ll='ls -l'
|
|
alias la='ls'
|
|
alias l.='ls | egrep "^\."'
|
|
alias l=ls
|
|
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
|
alias dir='dir --color=auto'
|
|
alias vdir='vdir --color=auto'
|
|
# GREP
|
|
alias grep='grep --color=auto'
|
|
alias egrep='egrep --color=auto'
|
|
alias fgrep='fgrep --color=auto'
|
|
# GIT
|
|
alias ga='git add'
|
|
alias gc='git commit'
|
|
alias gp='git push'
|
|
alias lc='fc -nl $HISTCMD'
|
|
# CADDY
|
|
alias rc='caddy reload --config ~/Caddyfile'
|
|
alias ft='caddy fmt --overwrite ~/Caddyfile'
|
|
alias vt='caddy validate --config ~/Caddyfile'
|
|
# Navigation
|
|
alias ..='cd ..'
|
|
alias ...='cd ../../'
|
|
alias ....='cd ../../../'
|
|
alias .....='cd ../../../../'
|
|
# Readability
|
|
alias cp="cp -iv"
|
|
alias mv='mv -iv'
|
|
alias rm='rm -iv'
|
|
alias df='df -h'
|
|
alias free='free -m'
|
|
alias mkdir='mkdir -pv'
|