diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-07-06 16:51:38 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-07-06 16:51:38 -0700 |
commit | d00051f4ec5f22e7ecdb3ff4f1134dad982e8d8a (patch) | |
tree | 99b819789732a78ddd9290990905ed45d71aec06 | |
parent | bf1c501d2ef98054fda4096efa7232fcd94a60f1 (diff) | |
download | dotfiles-d00051f4ec5f22e7ecdb3ff4f1134dad982e8d8a.tar.gz dotfiles-d00051f4ec5f22e7ecdb3ff4f1134dad982e8d8a.tar.xz |
Update .bashrc.
-rw-r--r-- | bashrc | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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}" +} |