• R/O
  • HTTP
  • SSH
  • HTTPS

lsdcontrol: Commit

GitHubのミラーです
https://github.com/FascodeNet/lsdcontrol


Commit MetaInfo

Révision1c9015c89665a28bf633434efd59d6f92c3ab105 (tree)
l'heure2020-04-13 12:09:49
Auteurhayao <shun819.mail@gmai...>
Commiterhayao

Message de Log

[fix] : Fixed an issue that prevented login with CLi

Change Summary

Modification

--- a/lsd-alias
+++ b/lsd-alias
@@ -10,17 +10,14 @@ else
1010 fi
1111
1212
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
2016
2117
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
Afficher sur ancien navigateur de dépôt.