OSDN Git Service
(root)
/
alterlinux
/
lsdcontrol.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3052a1c
)
[fix] : Fixed an issue that prevented login with CLi
master
origin/HEAD
origin/master
osdn/master
v1.2
author
hayao
<shun819.mail@gmail.com>
Mon, 13 Apr 2020 03:09:49 +0000
(12:09 +0900)
committer
hayao
<shun819.mail@gmail.com>
Mon, 13 Apr 2020 03:09:49 +0000
(12:09 +0900)
lsd-alias
patch
|
blob
|
history
diff --git
a/lsd-alias
b/lsd-alias
index
fb9e90f
..
be25615
100755
(executable)
--- a/
lsd-alias
+++ b/
lsd-alias
@@
-10,17
+10,14
@@
else
fi
-if [[ ${TERM} = "linux" ]]; then
- exit 0
-fi
-
-
-set +e
-unalias ls > /dev/null 2>&1
+if [[ ! ${TERM} = "linux" ]]; then
+ set +e
+ unalias ls > /dev/null 2>&1
-case ${lsd} in
- true) alias ls='lsd';;
- false) alias ls='ls';;
- *) :;;
-esac
\ No newline at end of file
+ case ${lsd} in
+ true) alias ls='lsd';;
+ false) alias ls='ls';;
+ *) :;;
+ esac
+fi
\ No newline at end of file