summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc13
1 files changed, 8 insertions, 5 deletions
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}"
+}