Skip to content

Instantly share code, notes, and snippets.

@zianwar
Last active August 29, 2015 14:27
Show Gist options
  • Save zianwar/2808ba384d26590c2971 to your computer and use it in GitHub Desktop.
Save zianwar/2808ba384d26590c2971 to your computer and use it in GitHub Desktop.
bashrc
#!/usr/bin/env bash
# Path to the bash it configuration
export BASH_IT="$HOME/.bash_it"
# Lock and Load a custom theme file
# location /.bash_it/themes/
export BASH_IT_THEME='minimal'
# Don't check mail when opening terminal.
unset MAILCHECK
# Change this to your console based IRC client of choice.
export IRC_CLIENT='irssi'
# Set this to false to turn off version control status checking within the prompt for all themes
export SCM_CHECK=true
# some more ls aliases
alias ll='ls -alh'
alias la='ls -A'
alias l='ls -CFlh'
alias lsd="ls -alF | grep /$"
# This is GOLD for finding out what is taking so much space on your drives!
alias diskspace="du -S | sort -n -r |more"
# Show me the size (sorted) of only the folders in this directory
alias folders="find . -maxdepth 1 -type d -print | xargs du -sk | sort -rn"
# Load Bash It
source $BASH_IT/bash_it.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment