Re-enable sudo aliases
This commit is contained in:
parent
e869c03a1a
commit
45e313a4ee
1 changed files with 7 additions and 6 deletions
|
|
@ -61,6 +61,7 @@ alias rm='rm -I --one-file-system -v'
|
||||||
|
|
||||||
alias s3-public='simple-aliases s3-public'
|
alias s3-public='simple-aliases s3-public'
|
||||||
alias sl='ls'
|
alias sl='ls'
|
||||||
|
alias sudo='sudo '
|
||||||
|
|
||||||
alias taketemp='take $(mktemp -d)'
|
alias taketemp='take $(mktemp -d)'
|
||||||
alias tokei='tokei --hidden'
|
alias tokei='tokei --hidden'
|
||||||
|
|
@ -77,16 +78,16 @@ alias xo='xdg-open'
|
||||||
|
|
||||||
test -x "$(command -v atuin)" && alias hist-grep='atuin search'
|
test -x "$(command -v atuin)" && alias hist-grep='atuin search'
|
||||||
|
|
||||||
test -x "$(command -v bat)" && alias cat='bat -pp'
|
test -x "$(command -v bat)" && alias cat="$(which bat) -pp"
|
||||||
|
|
||||||
test -x "$(command -v eza)" && alias ls='eza -lhF --git --icons --color=always --color-scale --color-scale-mode=fixed --time-style=long-iso --group-directories-first --no-quotes'
|
test -x "$(command -v eza)" && alias ls="$(which eza) -lhF --git --icons --color=always --color-scale --color-scale-mode=fixed --time-style=long-iso --group-directories-first --no-quotes"
|
||||||
|
|
||||||
test -x "$(command -v moor)" && alias less='moor'
|
test -x "$(command -v moor)" && alias less="$(which moor)"
|
||||||
|
|
||||||
test -x "$(command -v nvim)" && alias vim='nvim'
|
test -x "$(command -v nvim)" && alias vim="$(which nvim)"
|
||||||
|
|
||||||
test -x "$(command -v rmtrash)" && alias rm='rmtrash -I --one-file-system'
|
test -x "$(command -v rmtrash)" && alias rm="$(which rmtrash) -I --one-file-system"
|
||||||
test -x "$(command -v rmdirtrash)" && alias rmdir='rmdirtrash'
|
test -x "$(command -v rmdirtrash)" && alias rmdir="$(which rmdirtrash)"
|
||||||
|
|
||||||
test -x "$(command -v yadm)" && alias sysyadm="sudo $(which yadm) --yadm-dir /etc/yadm --yadm-data /etc/yadm/data"
|
test -x "$(command -v yadm)" && alias sysyadm="sudo $(which yadm) --yadm-dir /etc/yadm --yadm-data /etc/yadm/data"
|
||||||
test ! -x "$(command -v yadm)" && alias yadm='git --git-dir="$HOME/.local/share/yadm/repo.git"'
|
test ! -x "$(command -v yadm)" && alias yadm='git --git-dir="$HOME/.local/share/yadm/repo.git"'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue