Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:shell [2019/11/26 10:05] – lamboringo | linux:shell [2022/02/28 09:31] (current) – lamboringo | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== systemwide ==== | ==== systemwide ==== | ||
+ | |||
+ | colors and codes for tput: bold, sgr0 | ||
+ | |||
+ | * 0 → dark grey | ||
+ | * 1 → red | ||
+ | * 2 → green | ||
+ | * 3 → dark yellow | ||
+ | * 4 → dark blue | ||
+ | * 5 → mauve | ||
+ | * 6 → turquoise | ||
+ | * 7 → white | ||
+ | * 8 → lighter grey | ||
+ | * 9 → lighter red | ||
+ | |||
+ | |||
+ | |||
<code bash / | <code bash / | ||
# ALIASES | # ALIASES | ||
Line 11: | Line 27: | ||
alias cp='cp --preserve=xattr' | alias cp='cp --preserve=xattr' | ||
- | + | ||
+ | function lwhich { | ||
+ | ls -lh $(which $1) | ||
+ | } | ||
# PATH | # PATH | ||
export PATH=$PATH: | export PATH=$PATH: |