forked from muhaaliss/mydotfiles
APT, Flatpak and git clone alias added
This commit is contained in:
parent
10fe362621
commit
f8302cb0c4
1 changed files with 12 additions and 14 deletions
26
bash_aliases
26
bash_aliases
|
@ -4,7 +4,16 @@ alias ins="sudo dnf install"
|
|||
alias rmv="sudo dnf remove"
|
||||
alias ser="dnf search"
|
||||
|
||||
# APT alias
|
||||
alias upd="sudo apt update"
|
||||
alias ins="sudo apt install"
|
||||
alias rmv="sudo apt purge"
|
||||
alias ser="apt search"
|
||||
|
||||
# Flatpak alias
|
||||
alias fpu="flatpak update"
|
||||
alias fpi="flatpak install"
|
||||
alias fpl="flatpak list"
|
||||
|
||||
# History alias
|
||||
cl () {
|
||||
|
@ -19,14 +28,10 @@ cl () {
|
|||
fi
|
||||
}
|
||||
|
||||
|
||||
|
||||
# Emacs no gui
|
||||
alias emacs="emacs -nw $argv"
|
||||
alias e="emacs -nw $argv"
|
||||
|
||||
|
||||
|
||||
# Quick way to get out of current directory
|
||||
alias cd..='cd ..'
|
||||
alias ..="cd .."
|
||||
|
@ -36,27 +41,20 @@ alias .....="cd ../../../../"
|
|||
alias .4="cd ../../../../"
|
||||
alias .5="cd ../../../../.."
|
||||
|
||||
|
||||
|
||||
# Colorize the grep command output for ease of use (good for log files)
|
||||
alias grep="grep --color=auto"
|
||||
|
||||
|
||||
|
||||
# Make mount command output pretty and human readable format
|
||||
alias mount="mount |column -t"
|
||||
|
||||
|
||||
|
||||
# Stop after sending count ECHO_REQUEST packets
|
||||
alias ping="ping -c 5"
|
||||
|
||||
|
||||
|
||||
# Displays the size of each item, and then sorts it by size, in a single column, with a notation to indicate the kind of file
|
||||
alias lt='ls --human-readable --size -1 -S --classify'
|
||||
|
||||
|
||||
|
||||
# Copy progress bar
|
||||
alias cpv='rsync -ah --info=progress2'
|
||||
|
||||
# Git clone alias
|
||||
alias gitc="git clone"
|
||||
|
|
Loading…
Add table
Reference in a new issue