added to of alias, using yq to format, very similar to jq. also install yq

This commit is contained in:
tomit4 2022-05-01 13:46:13 -07:00
parent 7cd3136ab9
commit 4e7d52413f
2 changed files with 4 additions and 10 deletions

View file

@ -36,7 +36,7 @@ alias li="exa -lh"
alias ll="exa -liah"
alias {lsdir,lsd}="ls -t -1" # list only the directories
alias lshw="doas lshw -short" # list hardware
alias of="onefetch -o yaml"
alias of="onefetch -o yaml | yq -C"
alias mkdir='mkdir -pv'
alias {ex,esc}="exit"
alias {his,hist}="history"

View file

@ -6,16 +6,10 @@ awk '!($2="")'
add notation about tr (translate command):
replace every newline with a single space: tr '\n' ' '
add notation about using find to list only files in current directory and NOT subdirectory:
find $dir -maxdepth 1 -type f
Install exa (colorized version of ls)
doas pacman -S exa
Install yq (similar to jq, but for yaml)
Install speed-test
paru speed-test (choose 2 option, not .git version)
Go to https://learning.lpi.org/en/learning-materials/101-500/ and download pdf
Go to https://learning.lpi.org/en/learning-materials/102-500/ and download pdf
doas pacman -S yq