summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 81bb994..a53f7b8 100644
--- a/.bashrc
+++ b/.bashrc
@@ -96,6 +96,9 @@ meteo() {
[ -f "/usr/share/fzf/completion.bash" ] && . "/usr/share/fzf/completion.bash"
[ -f "/usr/share/fzf/key-bindings.bash" ] && . "/usr/share/fzf/key-bindings.bash"
+# Print current command in terminal title
+trap 'printf "\e]2;$PWD: ${BASH_COMMAND/ps1/bash}\e"' DEBUG
+
# Display git status in prompt
. ~/.bash-powerline.sh