]> id.pley.net Git - dotfiles.git/blobdiff - bash_login
Renamed files.
[dotfiles.git] / bash_login
diff --git a/bash_login b/bash_login
new file mode 100644 (file)
index 0000000..96b42af
--- /dev/null
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+function short_pwd()
+{ 
+       local PWD=${PWD/#$HOME/\~};
+       local tmp=${PWD%/*/*};
+       [[ ${#tmp} -ne ${#PWD} && ${#tmp} -gt 0 ]] \
+               && echo ...${PWD:${#tmp}} \
+               || echo $PWD; 
+}
+export PS1='$( if [ $? = 0 ]; then echo \[\e[32m\]:-\)\ ; else echo \[\e[31m\]:-\(\ ;fi;)\[\e[0m\]\u@\h:$(short_pwd)> '
+
+export PATH=~/bin:$PATH
+export MANPATH=~/man:$MANPATH
+
+source ~/.aliases
+
+export EDITOR=/usr/bin/vim
+export LSCOLORS=gxfxcxdxbxegedabagacad
+
+source ~/.webkit_login