Skip to content

Instantly share code, notes, and snippets.

@JSchulte01
Last active January 10, 2019 13:22
Show Gist options
  • Select an option

  • Save JSchulte01/d106ebcf4abc6df25828edbcc62f7d12 to your computer and use it in GitHub Desktop.

Select an option

Save JSchulte01/d106ebcf4abc6df25828edbcc62f7d12 to your computer and use it in GitHub Desktop.

Revisions

  1. JSchulte01 revised this gist Jan 10, 2019. No changes.
  2. JSchulte01 created this gist Jan 10, 2019.
    39 changes: 39 additions & 0 deletions .bashrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,39 @@

    # 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 . &'