This repository was archived by the owner on Apr 23, 2025. It is now read-only.
File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Aliases
2
+ > ** Warning** :
3
+ > Aliases relies mainly the presence of ` /etc/os-release ` , which may or may not be available on all distributions.
4
+ >
5
+ > If ` lxinfo ` (the library used) fails to retrieve any information, then aliases will be disabled.
6
+ ***
2
7
These aliases are only valid for commands (+ tooltip commands).
3
8
***
4
9
- ` %username% ` - Username
@@ -13,8 +18,8 @@ These aliases are only valid for commands (+ tooltip commands).
13
18
- ` %used_mem% ` - Total amount of used memory (in GB)
14
19
15
20
## I can just use ` whoami ` , why all of this?
16
- You may use completely dynamic commands like ` whoami ` if you want, the benefit over aliases though are:
21
+ You may use completely dynamic commands like ` whoami ` if you want, the benefit with using aliases are:
17
22
18
- 1 . Lower overhead due to being cached and retrieved via ` libc ` , rather than expensive commands
23
+ 1 . Lower overhead due to being retrieved via ` libc ` , rather than expensive commands
19
24
2 . A lot faster to process
20
- 3 . Cached at startup, then reused afterwards
25
+ 3 . Cached at startup, then reused afterwards - ** To be changed since it's a design flaw **
You can’t perform that action at this time.
0 commit comments