#!/bin/sh

[[ $PATH == *"$(echo ~/dotfiles/bin)"* ]] || export PATH=$PATH:~/dotfiles/bin

. ~/dotfiles/bash/os_vars.sh
. ~/dotfiles/bash/git_helpers.sh

function v() {
  __rsc__vim $1 &
}

alias ..='cd ..'
alias ...='cd ../../'
alias ....='cd ../../../'
alias .....='cd ../../../../'
alias ......='cd ../../../../../'
alias ba='v $__rsc__dotfiles_dir/bash/bash_profile.sh'
alias bl='v ~/.bash_profile'
alias c-='cd -'
alias cdd='cd $(eval echo $__rsc__dev_dir)'
alias df='cd $(eval echo $__rsc__dotfiles_dir)'
alias e='__rsc__filebrowser . &'
alias h='cd ~'
alias la='__rsc__ls_color -F'
alias ll='__rsc__ls_color -AFhl'
alias q='exit'
alias va='v $__rsc__dotfiles_dir/vim/vimrc.vim'
alias vl='v $__rsc__vimrc'
alias x='__rsc__filebrowser '

function cl() {
  cd $1
  ll
}

function cn() {
  mkdir -p "$1" && cd "$1";
}

function ra() {
  eval $1
  reload
}

function reload() {
  beforedir=$PWD
  unalias -a 
  source ~/.bash_profile 1>/dev/null
  cd $beforedir
  beforedir=
}


#!/bin/sh

[[ $PATH == *"$(echo ~/dotfiles/bin)"* ]] || export PATH=$PATH:~/dotfiles/bin

. ~/dotfiles/bash/os_vars.sh
. ~/dotfiles/bash/git_helpers.sh

function v() {
  __rsc__vim $1 &
}

alias ..='cd ..'
alias ...='cd ../../'
alias ....='cd ../../../'
alias .....='cd ../../../../'
alias ......='cd ../../../../../'
alias ba='v $__rsc__dotfiles_dir/bash/bash_profile.sh'
alias bl='v ~/.bash_profile'
alias c-='cd -'
alias cdd='cd $(eval echo $__rsc__dev_dir)'
alias df='cd $(eval echo $__rsc__dotfiles_dir)'
alias e='__rsc__filebrowser . &'
alias la='__rsc__ls_color -F'
alias ll='__rsc__ls_color -AFhl'
alias q='exit'
alias va='v $__rsc__dotfiles_dir/vim/vimrc.vim'
alias vl='v $__rsc__vimrc'
alias x='__rsc__filebrowser '

function cl() {
  cd $1
  ll
}

function cn() {
  mkdir -p "$1" && cd "$1";
}

function ra() {
  eval $1
  reload
}

function reload() {
  beforedir=$PWD
  unalias -a 
  source ~/.bash_profile 1>/dev/null
  cd $beforedir
  beforedir=
}


Remove 'h' bash alias as unneeded
Remove 'h' bash alias as unneeded
