mirror of
https://github.com/shokinn/.files.git
synced 2025-01-18 21:22:25 +00:00
remove not required unlias commands
This commit is contained in:
parent
21e3780b8b
commit
b853f45327
|
@ -22,11 +22,9 @@ export ANSIBLE_NOCOWS=1
|
||||||
|
|
||||||
# exa
|
# exa
|
||||||
if [[ $(command -v exa) ]]; then
|
if [[ $(command -v exa) ]]; then
|
||||||
[[ $(whence -w l) == *alias* ]] && unalias l
|
|
||||||
lfunc() {
|
lfunc() {
|
||||||
exal -T -L ${1:-1}
|
exal -T -L ${1:-1}
|
||||||
}
|
}
|
||||||
[[ $(whence -w la) == *alias* ]] && unalias la
|
|
||||||
lafunc() {
|
lafunc() {
|
||||||
exal -a -T -L ${1:-1}
|
exal -a -T -L ${1:-1}
|
||||||
}
|
}
|
||||||
|
@ -34,6 +32,7 @@ if [[ $(command -v exa) ]]; then
|
||||||
alias l='lfunc'
|
alias l='lfunc'
|
||||||
alias la='lafunc'
|
alias la='lafunc'
|
||||||
alias ll="lfunc 2"
|
alias ll="lfunc 2"
|
||||||
|
alias lla='lafunc 2'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' or profile == 'ymir' @@%}
|
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' or profile == 'ymir' @@%}
|
||||||
|
|
|
@ -160,11 +160,9 @@ alias ssh-no-check="ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/n
|
||||||
|
|
||||||
# exa
|
# exa
|
||||||
if [[ $(command -v exa) ]]; then
|
if [[ $(command -v exa) ]]; then
|
||||||
[[ $(whence -w l) == *alias* ]] && unalias l
|
|
||||||
lfunc() {
|
lfunc() {
|
||||||
exal -T -L ${1:-1}
|
exal -T -L ${1:-1}
|
||||||
}
|
}
|
||||||
[[ $(whence -w la) == *alias* ]] && unalias la
|
|
||||||
lafunc() {
|
lafunc() {
|
||||||
exal -a -T -L ${1:-1}
|
exal -a -T -L ${1:-1}
|
||||||
}
|
}
|
||||||
|
@ -172,6 +170,7 @@ if [[ $(command -v exa) ]]; then
|
||||||
alias l='lfunc'
|
alias l='lfunc'
|
||||||
alias la='lafunc'
|
alias la='lafunc'
|
||||||
alias ll="lfunc 2"
|
alias ll="lfunc 2"
|
||||||
|
alias lla='lafunc 2'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Initialize pyenv
|
# Initialize pyenv
|
||||||
|
|
Loading…
Reference in a new issue