Update bash aliases

master
Hektor Misplon 2023-05-21 19:17:14 +02:00
parent 3f588cabbc
commit 94fc0d8cdb
1 changed files with 4 additions and 8 deletions

View File

@ -1,27 +1,24 @@
# Config quick-open
# Alias aliases # Alias aliases
alias al=alias alias al=alias
alias alf="alias | fzf" alias alf="alias | fzf"
alias al-=unalias alias al-=unalias
alias bashrc="nvim ~/.bashrc" # Edit configuration files
alias aliasrc="nvim ~/.aliasrc" alias eba="nvim ~/.bashrc"
alias vimrc="nvim ~/.vimrc" alias eal="nvim ~/.bash_aliasrc"
alias ev="nvim ~/.vimrc"
# Navigation # Navigation
alias ..="cd .." alias ..="cd .."
alias .2="cd ../.." alias .2="cd ../.."
alias .3="cd ../../.." alias .3="cd ../../.."
# Colorize output # Colorize output
alias ls="ls --color=auto" alias ls="ls --color=auto"
alias grep="grep --color=auto" alias grep="grep --color=auto"
alias ip="ip --color" alias ip="ip --color"
# Listing # Listing
alias l="ls -1p" alias l="ls -1p"
alias ll="ls -lhp" alias ll="ls -lhp"
alias lt="ls -lhtp" alias lt="ls -lhtp"
@ -30,7 +27,6 @@ alias lta="ls -lhatp"
alias ldir="ls -dp" # list directories alias ldir="ls -dp" # list directories
# Safety # Safety
alias rm="rm -I --preserve-root" alias rm="rm -I --preserve-root"
alias mv="mv -iv" alias mv="mv -iv"
alias cp="cp -iv" alias cp="cp -iv"