fouaishfoh
parent
5ea07fd3ee
commit
4c358a7783
|
@ -31,7 +31,7 @@
|
|||
(defn sort-user-list [usernames]
|
||||
(apply sorted [usernames] {"key" modify-time}))
|
||||
|
||||
(defn user-generator [] (-> (listdir "/home")
|
||||
(defn user-generator [] (->> (listdir "/home")
|
||||
(filter (fn [f] (and (not (= f "ubuntu")) (not (= f "poetry")))))))
|
||||
|
||||
(def user-list (->> (user-generator)
|
||||
|
|
Reference in New Issue