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:
parent
1894a6f965
commit
01abda43c3
4
aliases
4
aliases
@ -54,7 +54,6 @@ alias pacaur='pacaur --color=always'
|
|||||||
alias tree='tree --dirsfirst -C -F'
|
alias tree='tree --dirsfirst -C -F'
|
||||||
alias make="make -j$(nproc)"
|
alias make="make -j$(nproc)"
|
||||||
alias dd='dd status=progress'
|
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 ssh="ssh -tt"
|
||||||
alias wget="wget --hsts-file=$XDG_DATA_HOME/wget/hsts-file"
|
alias wget="wget --hsts-file=$XDG_DATA_HOME/wget/hsts-file"
|
||||||
vim --version 2>/dev/null | command grep -q +clientserver && \
|
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 stripansi='sed -r "s/\x1B\[(([0-9]+)(;[0-9]+)*)?[m,K,H,f,J]//g"'
|
||||||
alias calc="noglob bc -l <<<" # noglob allows * without quoting
|
alias calc="noglob bc -l <<<" # noglob allows * without quoting
|
||||||
|
|
||||||
|
# Function aliases
|
||||||
|
env() { command env $@ | stripansi | sort; }
|
||||||
|
|
||||||
# System aliases
|
# System aliases
|
||||||
alias s="sudo systemctl"
|
alias s="sudo systemctl"
|
||||||
alias j=journalctl
|
alias j=journalctl
|
||||||
|
Loading…
Reference in New Issue
Block a user