From d00051f4ec5f22e7ecdb3ff4f1134dad982e8d8a Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Sun, 6 Jul 2014 16:51:38 -0700 Subject: Update .bashrc. --- bashrc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'bashrc') diff --git a/bashrc b/bashrc index f415b5c..badfe3a 100644 --- a/bashrc +++ b/bashrc @@ -6,11 +6,11 @@ shopt -s checkwinsize shopt -s histappend case ${TERM} in - xterm*|rxvt*|Eterm*|aterm|kterm|gnome*|interix) - PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"' + xterm*|rxvt*) + PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\007"' ;; screen*) - PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\033\\"' + PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\033\\"' ;; esac @@ -34,5 +34,8 @@ fi export EDITOR=vim export HISTSIZE=50000 -rpath() { source <(~/dev/rpath/rpath.sh "${@}"); } -alias rp='rpath' +rbpm() { source <(~/dev/rbpm/rbpm.sh "${@}"); } + +mkcd() { + mkdir "${1}" && cd "${1}" +} -- cgit v1.2.3-70-g09d2