1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

aliases: fix env alias for interactive use

This commit is contained in:
Joe Groocock 2018-10-31 17:26:36 +00:00
parent 1894a6f965
commit 01abda43c3
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -54,7 +54,6 @@ alias pacaur='pacaur --color=always'
alias tree='tree --dirsfirst -C -F'
alias make="make -j$(nproc)"
alias dd='dd status=progress'
alias env='env | sort | sed -r "s/\x1B\[(([0-9]+)(;[0-9]+)*)?[m,K,H,f,J]//g"'
alias ssh="ssh -tt"
alias wget="wget --hsts-file=$XDG_DATA_HOME/wget/hsts-file"
vim --version 2>/dev/null | command grep -q +clientserver && \
@ -81,6 +80,9 @@ alias hddtemps='find /sys/block/ -name sd\* | sed "s|sys/block|dev|g" | sudo xar
alias stripansi='sed -r "s/\x1B\[(([0-9]+)(;[0-9]+)*)?[m,K,H,f,J]//g"'
alias calc="noglob bc -l <<<" # noglob allows * without quoting
# Function aliases
env() { command env $@ | stripansi | sort; }
# System aliases
alias s="sudo systemctl"
alias j=journalctl