Last active
January 10, 2019 13:22
-
-
Save JSchulte01/d106ebcf4abc6df25828edbcc62f7d12 to your computer and use it in GitHub Desktop.
Template of some useful setup for BashRC
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
# append to the history file, don't overwrite it | |
shopt -s histappend | |
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) | |
HISTSIZE=1000 | |
HISTFILESIZE=2000 | |
alias q='exit' | |
alias c='clear' | |
alias h='history' | |
alias cs='clear;ls' | |
alias p='cat' | |
alias pd='pwd' | |
alias lsa='ls -a' | |
alias lsl='ls -l' | |
alias pd='pwd' | |
alias t='time' | |
alias k='kill' | |
alias null='/dev/null' | |
alias fuck='sudo $(history -p !!)' | |
alias copy='xclip -sel clip' | |
alias home='cd ~' | |
alias root='cd /' | |
alias work='cd ~/Work' | |
alias dtop='cd ~/Desktop' | |
alias ..='cd ..' | |
alias o='xdg-open' | |
# Let there be color in grep! | |
alias grep="grep --color=auto" | |
alias g='git' | |
alias gg='git grep -n' | |
alias pc='pycharm-community . &' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment