GitHubのミラーです
https://github.com/FascodeNet/lsdcontrol
Révision | 1c9015c89665a28bf633434efd59d6f92c3ab105 (tree) |
---|---|
l'heure | 2020-04-13 12:09:49 |
Auteur | hayao <shun819.mail@gmai...> |
Commiter | hayao |
[fix] : Fixed an issue that prevented login with CLi
@@ -10,17 +10,14 @@ else | ||
10 | 10 | fi |
11 | 11 | |
12 | 12 | |
13 | -if [[ ${TERM} = "linux" ]]; then | |
14 | - exit 0 | |
15 | -fi | |
16 | - | |
17 | - | |
18 | -set +e | |
19 | -unalias ls > /dev/null 2>&1 | |
13 | +if [[ ! ${TERM} = "linux" ]]; then | |
14 | + set +e | |
15 | + unalias ls > /dev/null 2>&1 | |
20 | 16 | |
21 | 17 | |
22 | -case ${lsd} in | |
23 | - true) alias ls='lsd';; | |
24 | - false) alias ls='ls';; | |
25 | - *) :;; | |
26 | -esac | |
\ No newline at end of file | ||
18 | + case ${lsd} in | |
19 | + true) alias ls='lsd';; | |
20 | + false) alias ls='ls';; | |
21 | + *) :;; | |
22 | + esac | |
23 | +fi | |
\ No newline at end of file |