-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
39 lines (28 loc) · 885 Bytes
/
zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
source ~/antigen.zsh
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundle git
# Syntax highlighting bundle.
antigen bundle zsh-users/zsh-syntax-highlighting
# Syntax autosuggestions bundle.
antigen bundle zsh-users/zsh-autosuggestions
# Load the theme.
# antigen theme agnoster
antigen theme denysdovhan/spaceship-prompt
# Tell Antigen that you're done.
antigen apply
# Use custom utilities
source ~/.utilities
# Use custom aliases
source ~/.aliases
######################################
# UI CHANGES #
######################################
# Set the tab title to the current working directory before each prompt
function tabTitle () {
window_title="\033]0;${PWD##*/}\007"
echo -ne "$window_title"
}
# Executes tabTitle before each prompt
add-zsh-hook precmd tabTitle