Last active
June 3, 2019 16:30
-
-
Save ManzDev/085fce60f495f056f46be1a90bb38c61 to your computer and use it in GitHub Desktop.
Bash aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export DISPLAY=:0 | |
# Copy/Paste | |
alias pbcopy='xsel --clipboard --input' | |
alias pbpaste='xsel --clipboard --output' | |
# Top Commands | |
alias topcommands='history | tr -s " " | cut -d" " -f3 | sort | uniq -c | sort -n | tail -20' | |
# Javascript | |
alias jssize='pbpaste | terser -c -m | gzip -c9n | wc -c' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment