This commit is contained in:
Christian Nieves
2024-01-30 21:32:18 +00:00
parent 90033636e5
commit d4c557acf9
3 changed files with 5 additions and 21 deletions

View File

@ -21,17 +21,6 @@ function gcert() {
source /google/bin/releases/knock/knock.sh
}
function tmux_title() {
if [[ $PWD =~ /google/src/cloud/[^/]+/([^/]+)/.* ]]; then
tmx2 rename-window "${match[1]}"
else
tmx2 rename-window "$(basename "`pwd`")"
fi
}
if [[ ! -z "$TMUX" ]]; then
precmd_functions+=(tmux_title)
fi
FORTUNES=/google/data/ro/users/di/diamondm/engfortunes/fortune.sh
if [ -f "$FORTUNES" ]; then