Add aliases
This commit is contained in:
parent
9b8d61ac59
commit
aa4c8445ec
1 changed files with 4 additions and 5 deletions
|
@ -3,20 +3,19 @@
|
|||
alias aliases='vim ~/.config/aliasrc && source ~/.config/aliasrc'
|
||||
alias archlinux-admin-checkservices='sudo /usr/share/archlinux/contrib/admin/checkservices'
|
||||
|
||||
alias cp='cp -i'
|
||||
|
||||
alias df='df -h'
|
||||
alias doas='doas --'
|
||||
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
||||
alias dotfiles-mail='/usr/bin/git --git-dir=$HOME/.dotfiles-mail/ --work-tree=$HOME'
|
||||
alias du='du -h'
|
||||
|
||||
alias free='free -h'
|
||||
|
||||
alias git-update-submodules='
|
||||
git submodule update --init --recursive;
|
||||
git submodule foreach --recursive git fetch;
|
||||
git submodule foreach --recursive git merge origin master
|
||||
'
|
||||
alias gpg2-decrypt='function _gpg2-decrypt(){ gpg2 --output ${1%".gpg"} --decrypt $1; }; _gpg2-decrypt'
|
||||
alias gpg2-encrypt='function _gpg2-encrypt(){ gpg2 --output $1.gpg --encrypt $1; }; _gpg2-encrypt'
|
||||
alias grep='grep --color=auto'
|
||||
|
||||
alias hist-grep='history 0 | grep '
|
||||
|
||||
|
|
Loading…
Reference in a new issue