2020-01-12 00:54:38 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2020-02-10 14:47:48 +00:00
|
|
|
alias aliases='vim ~/.config/aliasrc && source ~/.config/aliasrc'
|
2020-07-20 09:46:24 +00:00
|
|
|
alias archlinux-admin-checkservices='sudo /usr/share/archlinux/contrib/admin/checkservices'
|
2019-12-20 11:22:51 +00:00
|
|
|
|
2020-09-26 22:28:51 +00:00
|
|
|
alias cp='cp -i'
|
|
|
|
|
2019-12-20 11:22:51 +00:00
|
|
|
alias df='df -h'
|
2020-09-26 22:28:51 +00:00
|
|
|
alias doas='doas --'
|
2019-12-20 11:22:51 +00:00
|
|
|
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
2020-02-19 01:05:10 +00:00
|
|
|
alias dotfiles-mail='/usr/bin/git --git-dir=$HOME/.dotfiles-mail/ --work-tree=$HOME'
|
2020-06-26 16:21:39 +00:00
|
|
|
alias du='du -h'
|
2019-12-20 11:22:51 +00:00
|
|
|
|
2020-08-18 09:40:28 +00:00
|
|
|
alias free='free -h'
|
|
|
|
|
2019-12-20 11:22:51 +00:00
|
|
|
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'
|
2020-09-26 22:28:51 +00:00
|
|
|
alias grep='grep --color=auto'
|
2019-12-20 11:22:51 +00:00
|
|
|
|
2020-08-28 10:53:09 +00:00
|
|
|
alias hist-grep='history 0 | grep '
|
2020-03-01 15:12:18 +00:00
|
|
|
|
2019-12-20 11:22:51 +00:00
|
|
|
alias ls='ls -Flh --color=never'
|
|
|
|
|
|
|
|
alias lsblk='lsblk -o +PARTLABEL -o +FSTYPE'
|
|
|
|
|
2020-08-18 09:40:28 +00:00
|
|
|
alias mail-alias='function _mail-alias(){ echo "$1-$(uuidgen)@relay.msrg.cc"; }; _mail-alias'
|
2020-07-15 13:50:56 +00:00
|
|
|
alias make='make -j5'
|
2019-12-20 11:22:51 +00:00
|
|
|
alias md5='ms5'
|
|
|
|
alias md5sum-dir='function _md5sum-dir(){ find $1 -type f -exec md5sum {} \; | md5sum; }; _md5sum-dir'
|
|
|
|
|
2020-01-20 22:31:41 +00:00
|
|
|
alias pacman-autoremove='pacman -Rns $(pacman -Qtdq)'
|
2020-03-31 22:15:46 +00:00
|
|
|
alias portalo-hz='xrandr --output HDMI-1 --mode 2560x1440 --refresh'
|
2019-12-20 11:22:51 +00:00
|
|
|
|
2020-01-20 22:31:41 +00:00
|
|
|
alias sudo='sudo '
|
2020-02-26 09:44:16 +00:00
|
|
|
alias synced-repos-status='
|
|
|
|
echo "dotfiles" && dotfiles status;
|
|
|
|
echo "\n\ndotfiles-mail" && dotfiles-mail status;
|
|
|
|
echo "\n\npass git" && pass git status
|
|
|
|
'
|
2019-12-20 11:22:51 +00:00
|
|
|
|
2020-08-18 09:40:28 +00:00
|
|
|
alias rm='rm -I --one-file-system -v'
|
2020-09-18 21:36:42 +00:00
|
|
|
|
|
|
|
alias vim-grep='function _vim-grep(){ vim $(grep $@) }; _vim-grep'
|
|
|
|
alias vim-find='function _vim-find(){ vim $(find $@) }; _vim-find'
|