Created
January 11, 2018 17:27
-
-
Save gilesbowkett/f7942465cbf5e473c38ee3afc1497f81 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function this() { # obtain git branch | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/' | |
} | |
# https://superuser.com/a/599156 | |
function tab-title { | |
echo -ne "\033]0;"$*"\007" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment