macallik, 7 months ago Some random ones I created over the last week or so: alias clipboard='xclip -selection clipboard' # Allows me to pipe output directly to my keyboard. good for pwd for example. Function allows me to get tldr and cheat responses to commands quickly function cht() { curl cheat.sh/$1 } Easy calculator so that I can do math w/o launching a specific app function calc() { echo "scale=3; $@" | bc }
Some random ones I created over the last week or so:
alias clipboard='xclip -selection clipboard' # Allows me to pipe output directly to my keyboard. good for pwd for example.
Function allows me to get tldr and cheat responses to commands quickly function cht() { curl cheat.sh/$1 }
Easy calculator so that I can do math w/o launching a specific app function calc() { echo "scale=3; $@" | bc }