Created
March 15, 2023 06:31
-
-
Save SC-One/c671d0207536943975242a03ff90ec6d to your computer and use it in GitHub Desktop.
My favorite aliases in bash (usefull in ubuntu's terminal)
This file contains hidden or 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
alias gitstart='eval "$(ssh-agent -s)" | |
ssh-add ~/.ssh/id_ed25519 | |
' | |
alias copy='xclip -selection clipboard' | |
# alias bjson='python -m json.tool' # beautify json | |
bjsonStr(){ | |
echo "$1" | python3 -m json.tool | |
} | |
bjsonFile(){ | |
python3 -m json.tool "$1" | |
} | |
bjsonDl(){ | |
curl "$1" | python3 -m json.tool | |
} | |
alias vlgFull=valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --log-file=valgrind-out.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment