aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/aliases.zsh10
1 files changed, 0 insertions, 10 deletions
diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh
index ccdcff9..990c175 100644
--- a/zsh/aliases.zsh
+++ b/zsh/aliases.zsh
@@ -45,19 +45,9 @@ sp() { printf '%s' "$@"; printf '\n'; }
have() { command -v "$1" >&/dev/null; }
-function get_git_branch {
- if [[ -d .git ]]; then
- branch="$(< .git/HEAD)"
- branch="${branch##*/} "
- else
- branch=""
- fi
-}
-
# Print basic prompt to the window title
function precmd {
print -Pn "\e];%n %~\a"
- get_git_branch
}
# Print the current running command's name to the window title