dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 078b03eba4b812d6f00f9e05d32ac501479629ef
parent 6c9612089b712ccbc44dd835da42a5bded440f03
Author: rubberduckdev <yuval.langer@gmail.com>
Date:   Fri, 28 Feb 2014 21:09:46 +0200

Adding more files

Diffstat:
A.bashrc.aliases | 22++++++++++++++++++++++
A.bashrc.functions | 5+++++
A.bashrc.paths | 72++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 99 insertions(+), 0 deletions(-)

diff --git a/.bashrc.aliases b/.bashrc.aliases @@ -0,0 +1,22 @@ +# enable color support of ls and also add handy aliases +if [ -x /usr/bin/dircolors ]; then + test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" + alias ls='ls --color=auto' + #alias dir='dir --color=auto' + #alias vdir='vdir --color=auto' + + alias grep='grep --color=auto' + alias fgrep='fgrep --color=auto' + alias egrep='egrep --color=auto' +fi + +# some more ls aliases +alias ll='ls -alF' +alias la='ls -A' +alias l='ls -CF' + +# Add an "alert" alias for long running commands. Use like so: +# sleep 10; alert +alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' + +alias g=git diff --git a/.bashrc.functions b/.bashrc.functions @@ -0,0 +1,5 @@ +function when_dir_exist_add_path { + if [ -d $1 ]; then + export PATH=$1:$PATH + fi +} diff --git a/.bashrc.paths b/.bashrc.paths @@ -0,0 +1,72 @@ +# python { + + # added by Anaconda 1.7.0 installer { + #export PATH="/home/yankel/anaconda/bin:$PATH" + # } + + +# mobile ubuntu { + + # https://developer.ubuntu.com/get-started/gomobile/ + # export PATH=/opt/qt5/bin:$PATH + +# } + +# golang { + + GOROOT="$HOME/go" + GOPATH="$HOME/mine/foo/strife/golang" + GOPATH="$HOME/local/gopath:$GOPATH" + GOBIN="$GOROOT/bin" + PATH="$GOBIN:$PATH" + + export GOROOT + export GOPATH + export GOBIN + export PKG_CONFIG_PATH=$HOME/local/pkgconfig:$PKG_CONFIG_PATH + export PATH + +# } + +# elixirlang { + + when_dir_exist_add_path $HOME/.local/opt/elixir-0.12.4/bin + +# } + +# Heroku { + + ### Added by the Heroku Toolbelt + #export PATH="/usr/local/heroku/bin:$PATH" + +# } + +# urbit { + + # export URBIT_HOME=/download/software/repos/github.com/urbit/urbit/urb + +# } + +# haskell { + + when_dir_exist_add_path $HOME/.cabal/bin:$PATH + +# } + +# .local { + + when_dir_exist_add_path $HOME/.local/bin:$PATH + +# } + +# git-annex { + + when_dir_exist_add_path $HOME/.local/opt/git-annex.linux + +# } + +# gem { + + when_dir_exist_add_path $HOME/.gem/ruby/1.9.1/bin + +# }