summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-07-06 16:51:38 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-07-06 16:51:38 -0700
commitd00051f4ec5f22e7ecdb3ff4f1134dad982e8d8a (patch)
tree99b819789732a78ddd9290990905ed45d71aec06 /bashrc
parentbf1c501d2ef98054fda4096efa7232fcd94a60f1 (diff)
downloaddotfiles-d00051f4ec5f22e7ecdb3ff4f1134dad982e8d8a.tar.gz
dotfiles-d00051f4ec5f22e7ecdb3ff4f1134dad982e8d8a.tar.xz
Update .bashrc.
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}"
+}