From 10413771532067eabbc09a6847931075700e53fb Mon Sep 17 00:00:00 2001 From: nojhan Date: Sat, 7 Jul 2012 09:43:47 +0200 Subject: [PATCH] bugfix absolute path when sourcing ; md functo mkdir and cd to it --- .bashrc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.bashrc b/.bashrc index 711de90..68461ea 100644 --- a/.bashrc +++ b/.bashrc @@ -18,9 +18,6 @@ function noproxy() export ftp_proxy="" } -# Super nice prompt -source .prompt.bash - # Prevents accidentally clobbering files. alias mv='mv -i' alias mkdir='mkdir -p' @@ -136,6 +133,14 @@ alias cgcc="colout :[0-9]+: yellow standard | colout error | colout warning mage alias bepo="setxkbmap -layout fr -variant bepo -option" +function md() { + mkdir $1 + cd $1 +} + +# Super nice prompt +source ~/.prompt.bash + # Added by autojump install.sh #source /etc/profile.d/autojump.bash