mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
More pretty aliases
This commit is contained in:
parent
7d6fa3cd90
commit
ff431dfa50
7
aliases
7
aliases
@ -29,16 +29,23 @@ alias -g NE="2> /dev/null"
|
||||
alias -g NUL="&> /dev/null"
|
||||
alias -g BG="&;disown"
|
||||
alias -g COL="| column -t"
|
||||
calc() {
|
||||
echo "$@" | bc -l
|
||||
}
|
||||
|
||||
alias svi=sudoedit
|
||||
# This will enable us to use aliases in sudo.
|
||||
# (If alias finishes with a space or tab, the shell will check if the next command is also aliased.)
|
||||
# Source: https://github.com/mayah/home/blob/master/.zsh/zshrc.d/alias.zsh
|
||||
alias sudo='sudo '
|
||||
alias open=xdg-open
|
||||
|
||||
# Command rewrites
|
||||
alias ls='ls --color=auto'
|
||||
alias rm='rm -i'
|
||||
alias mv='mv -i'
|
||||
alias cp='cp -i'
|
||||
alias tree='tree -C'
|
||||
|
||||
# System aliases
|
||||
alias s=systemctl
|
||||
|
Loading…
Reference in New Issue
Block a user