spiced up bashrc a little more
This commit is contained in:
@@ -106,6 +106,7 @@ alias h='history'
|
|||||||
# Misc
|
# Misc
|
||||||
# Get the weather. Put your location after the command
|
# Get the weather. Put your location after the command
|
||||||
alias wttr='ansiweather -u imperial -s false -l'
|
alias wttr='ansiweather -u imperial -s false -l'
|
||||||
|
alias wtr='curl -s "https://wttr.in/?format=%l:+%c+%t+%w+%p"'
|
||||||
# A quick lil speedyboi
|
# A quick lil speedyboi
|
||||||
alias speedTest='curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python3 -'
|
alias speedTest='curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python3 -'
|
||||||
# If you're runnng my exact mastodon setup, this will be useful
|
# If you're runnng my exact mastodon setup, this will be useful
|
||||||
|
|||||||
9
.bashrc
9
.bashrc
@@ -178,3 +178,12 @@ extract () {
|
|||||||
export PATH="$HOME/.cargo/bin:$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.cargo/bin:$HOME/.local/bin:$PATH"
|
||||||
export CDPATH=:..:$HOME:$HOME/dock:/dock
|
export CDPATH=:..:$HOME:$HOME/dock:/dock
|
||||||
alias colors='for x in {16..231}; do printf "\e[48;5;${x}m%03d\e[0m " $x; done'
|
alias colors='for x in {16..231}; do printf "\e[48;5;${x}m%03d\e[0m " $x; done'
|
||||||
|
#fastfetch
|
||||||
|
printf "\n%s %s | Load: %s | Uptime: %s\n" \
|
||||||
|
"$(hostname -s)" \
|
||||||
|
"$(date +%H:%M)" \
|
||||||
|
"$(cut -d' ' -f1-3 /proc/loadavg)" \
|
||||||
|
"$(uptime -p | sed 's/up //')"
|
||||||
|
df -h . | awk 'NR==2{printf "Disk: %s free of %s\n",$4,$2}'
|
||||||
|
curl -s "https://wttr.in/?format=%l:+%c+%t+%w+%p"
|
||||||
|
echo
|
||||||
|
|||||||
Reference in New Issue
Block a user