Skip to content

Commit e346a30

Browse files
committedMar 31, 2018
Make prompt more concise
1 parent 730e804 commit e346a30

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed
 

‎.gitconfig

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
rebase = true
2424
[pull]
2525
rebase = true
26+
[rebase]
27+
autoSquash = true
2628
[core]
2729
excludesfile = ~/.gitignore
2830
quotepath = false

‎.tmux.conf

Whitespace-only changes.

‎.zshrc

+4-4
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ COMPLETION_WAITING_DOTS="true"
5252
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
5353
# Example format: plugins=(rails git textmate ruby lighthouse)
5454
# Add wisely, as too many plugins slow down shell startup.
55-
plugins=(git, git-extras, z, tmux, github)
55+
plugins=(git, git-extras, z, tmux, github, zsh-autosuggestions)
5656

5757
# User configuration
5858

@@ -70,19 +70,19 @@ man() {
7070

7171
source $HOME/dotfiles/oh-my-zsh.sh
7272
source $HOME/dotfiles/.aliases
73+
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
7374
eval `ssh-agent -s`
7475
ssh-add -K ~/.ssh/id_rsa
75-
76+
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
7677
# You may need to manually set your language environment
7778
# export LANG=en_US.UTF-8
7879

7980
# Preferred editor for local and remote sessions
8081
# if [[ -n $SSH_CONNECTION ]]; then
8182
# export EDITOR='vim'
8283
# else
83-
# export EDITOR='mvim'
84+
# export EDITOR='vim'
8485
# fi
85-
8686
# Compilation flags
8787
# export ARCHFLAGS="-arch x86_64"
8888

‎cindy.zsh-theme

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PROMPT="$fg[cyan]%n$fg[red]@$fg[yellow]%m $fg[white]in $fg[green]%~$fg[white]: "
1+
PROMPT="$fg[red]%~$fg[white]: "
22
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%F{76}["
33
ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%}"
44
ZSH_THEME_GIT_PROMPT_DIRTY="%F{31}*%{$reset_color%}"

0 commit comments

Comments
 (0)