Last active
December 30, 2020 00:02
-
-
Save sdtaylor/79fc8543892dcbf16a1e0f1020c8ad04 to your computer and use it in GitHub Desktop.
bashrc stuff
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 aptupdate='sudo apt-get update' | |
alias aptupgrade='sudo apt-get upgrade' | |
alias aptinstall='sudo apt-get install' | |
alias aptremove='sudo apt-get remove' | |
function csvhead { | |
head "$@" | sed 's/,,/, ,/g;s/,,/, ,/g' | column -t -s, | |
} | |
function csvless { | |
cat "$@" | sed 's/,,/, ,/g;s/,,/, ,/g' | column -t -s, | less -S | |
} | |
# always have fast refresh in top | |
alias top='top -d .3' | |
# view only my own processes | |
alias top-mine='top -d .3 -u `echo $USER`' | |
# To fix anaconda spyder menu issues | |
#export QT_STYLE_OVERRIDE=gtk2 | |
eval "$(register-python-argcomplete retriever)" | |
# Keep a very large history and record every | |
# command with a timestamp | |
HISTSIZE=20000 | |
HISTFILESIZE=102400 | |
HISTTIMEFORMAT="%Y-%m-%d %T " | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment