Skip to content

Commit

Permalink
feat: Altera o título do terminal para o nome da pasta atual
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipebros authored Dec 10, 2024
1 parent 4ac3f39 commit b36fff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ if ! shopt -oq posix; then
fi

# show git branch
export PS1='\[\033[1;32m\]\u@\h\[\033[01;34m\] \w\[\033[0;32m\] $(__git_ps1 "(%s)")\[\033[0;37m\]$(date +%X)\[\033[0m\]$\[\033[00m\] '
export PS1='\[\e]0;${PWD##*/}\a\]\[\033[1;32m\]\u@\h\[\033[01;34m\] \w\[\033[0;32m\] $(__git_ps1 "(%s)")\[\033[0;37m\]$(date +%X)\[\033[0m\]$\[\033[00m\] '

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
Expand Down

0 comments on commit b36fff6

Please sign in to comment.