2019-09-23 23:22:47 +00:00
|
|
|
alias aliases='vim ~/.bash_aliases && bashrc-reload'
|
|
|
|
alias bashrc-reload='source ~/.bashrc'
|
|
|
|
|
2019-10-02 23:30:26 +00:00
|
|
|
alias config-bashrc='vim ~/.bashrc && bashrc-reload'
|
2019-09-23 23:22:47 +00:00
|
|
|
alias config-dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
|
|
|
alias config-i3='vim ~/.config/i3/config'
|
|
|
|
alias config-i3status='vim ~/.config/i3status/config'
|
|
|
|
alias config-vim='vim ~/.vimrc'
|
|
|
|
|
|
|
|
alias df='df -h'
|
|
|
|
alias du='du -hL'
|
|
|
|
|
|
|
|
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 ls='ls -Flh --color=never'
|
|
|
|
|
|
|
|
alias lsblk='lsblk -o +PARTLABEL -o +FSTYPE'
|
|
|
|
|
2019-10-02 23:30:26 +00:00
|
|
|
alias md5='ms5'
|
2019-09-23 23:22:47 +00:00
|
|
|
alias md5sum-dir='function _md5sum-dir(){ find $1 -type f -exec md5sum {} \; | md5sum; }; _md5sum-dir'
|
|
|
|
|
|
|
|
alias pacman-autoremove='sudo pacman -Rns $(pacman -Qtdq)'
|
|
|
|
|
2019-10-02 23:30:26 +00:00
|
|
|
alias ssh-sftp='$(read -t 2 -r tool; if [[ -z "$tool" ]]; then tool="ssh"; fi; echo $tool)'
|
|
|
|
|
2019-09-27 21:22:48 +00:00
|
|
|
alias rm='rm -I'
|